Prove that for all $a > 0$: $$\int\limits_0^{\pi/2}e^{-a\cos x}\cos(a\sin x)dx = \cfrac{\pi}{2} - \int\limits_0^a\cfrac{\sin x}{x}dx$$
I have no idea how to solve it. But the task looks very interesting. I understand some basics of complex analysis. But I know that it's not needed.
$\newcommand{\angles}[1]{\left\langle\, #1 \,\right\rangle} \newcommand{\braces}[1]{\left\lbrace\, #1 \,\right\rbrace} \newcommand{\bracks}[1]{\left\lbrack\, #1 \,\right\rbrack} \newcommand{\dd}{\mathrm{d}} \newcommand{\ds}[1]{\displaystyle{#1}} \newcommand{\expo}[1]{\,\mathrm{e}^{#1}\,} \newcommand{\half}{{1 \over 2}} \newcommand{\ic}{\mathrm{i}} \newcommand{\iff}{\Leftrightarrow} \newcommand{\imp}{\Longrightarrow} \newcommand{\ol}[1]{\overline{#1}} \newcommand{\pars}[1]{\left(\, #1 \,\right)} \newcommand{\partiald}[3][]{\frac{\partial^{#1} #2}{\partial #3^{#1}}} \newcommand{\root}[2][]{\,\sqrt[#1]{\, #2 \,}\,} \newcommand{\totald}[3][]{\frac{\mathrm{d}^{#1} #2}{\mathrm{d} #3^{#1}}} \newcommand{\verts}[1]{\left\vert\, #1 \,\right\vert}$
\begin{align} \totald{}{a}\int_{0}^{\pi/2}\exp\pars{-a\expo{-\ic x}}\,\dd x & = -\int_{0}^{\pi/2}\exp\pars{-a\expo{-\ic x}}\expo{-ix}\,\dd x \\[3mm] & = -\ic\int_{x\ =\ 0}^{x\ =\ \pi/2}\exp\pars{-a\expo{-\ic x}}\,\dd\pars{\expo{-ix}} = -\ic\int_{1}^{-\ic}\expo{-at}\,\dd t \\[3mm] & = {i\over a}\pars{\expo{\ic a} - \expo{-a}} \end{align}
Then, \begin{align} &\int_{0}^{\pi/2}\exp\pars{-a\expo{-\ic x}}\,\dd x \\[3mm] = &\ {\pi \over 2} + \ic\int_{0}^{a}{\expo{\ic t} - \expo{-t} \over t}\,\dd t = {\pi \over 2} + \ic\int_{0}^{a}{\cos\pars{t} - \expo{-t} \over t}\,\dd t - \int_{0}^{a}{\sin\pars{t} \over t}\,\dd t \end{align}
$$ \color{#f00}{\Re\int_{0}^{\pi/2}\exp\pars{-a\expo{-\ic x}}\,\dd x} = \color{#f00}{{\pi \over 2} - \int_{0}^{a}{\sin\pars{t} \over t}\,\dd t} $$