$$\displaystyle\int_{0}^{\frac{\pi}{2}} e^{a \cos(x)}\,\mathrm{d}x$$
I tried this:
$$=\displaystyle\int_{0}^{\frac{\pi}{2}} \sum_{k=0}^{\infty}\frac{a^k \cos^k(x)}{k!}\,\mathrm{d}x$$
Since $\frac{\cos^k(x)}{k!} \leq \frac{1}{k!}$, then the series converges uniformly by Weierstrass test
$$=\displaystyle\sum_{k=0}^{\infty}\frac{a^k}{k!}\int_{0}^{\frac{\pi}{2}}\cos^k(x)\,\mathrm{d}x$$
But then the problem is this last integral. Wolfram's answer is pretty nice, then it's possible there's an easy way to solve it that I'm not seeing.
Thanks
I think you can use the identity $$\cos x= \frac{e^{ix} + e^{-ix}}{2} $$ and then the binomial theorem. Then you’d be integrating exponentials, which is relatively easy.
(Of course after that you’d need to deal with the infinite sum of a variable-upper-bound finite sum, but then again maybe Taylor series wasn’t the quickest approach to this question – unless there are more useful trig identities that I’m not remembering.)