I know that you can integrate
$$\int e^{-x}\cos(x)dx$$
by parts, but I would like to know how you can use complex variables instead.
I know that you can integrate
$$\int e^{-x}\cos(x)dx$$
by parts, but I would like to know how you can use complex variables instead.