I would like to write the $2\pi$-periodic function $f(x)=e^{\cos(x^2)}\; $ $(0 \leq x \leq 2\pi)\;$ as a Fourier series, but I am unable to carry out the integration. In order to write it as a Fourier series, I try to compute the Fourier coefficients
$$c_n = \frac{1}{2\pi} \int_0^{2 \pi} e^{\cos(x^2)} e^{-inx}dx. $$
This is not a homework problem. However, it is taken from a set of problems in a course I took a couple of years ago. I am trying to refresh my skills in Fourier analysis.
Thanks in advance!