Calculate $\int_0^{2\pi} e^{\cos(x)} \cos(\sin(x)) \; dx$ using Cauchy's integral formula.
I am really confused as I cannot bring the integral of the exercise and Cauchy's integral formula together.
When considering the integral bounds ($0$ to $2\pi$), it seems to me that the integral is calculated on a circle (what Cauchy's integral formula uses, as far as I understand it).
We already introduced line integrals as $$\int_\gamma f(z) \; dz = \int_a^bf(\gamma(t)) y'(t) dt$$ (where $\gamma$ is a path in the complex plane), but the integral provided doesn't look like that one.
Can you please tell me how the integral can be calculated using Cauchy's integral formula?