Question:
Find out $\displaystyle{\int e^{\cos x}~dx}$.
My Attempt:
Let $\cos x = y$. Hence $-\sin x\ dx = dy$ or $$dx = \displaystyle{\frac{-dy}{\sin x}=\frac{-dy}{\sqrt{1-\cos^2x}}=\frac{-dy}{\sqrt{1-y^2}}}$$ So
$$\begin{align}\int e^{\cos x}~dx &= \int e^y\left(\frac{-dy}{\sqrt{1-y^2}}\right)\\ &=-\int\frac{e^y}{\sqrt{1-y^2}}~dy \end{align}$$
This integral is one I can't solve. I have been trying to do it for the last two days, but can't get success. I can't do it by parts because the new integral thus formed will be even more difficult to solve. I can't find out any substitution that I can make in this integral to make it simpler. Please help me solve it. Is the problem with my first substitution $y=\cos x$ or is there any other way to solve the integral $\displaystyle{\int\frac{e^y}{\sqrt{1-y^2}}~dy}$?

First of all: there is no close form solution in terms of elementary functions.
What can you do, but it's not an exact result and also its validity is bounded, is to express the exponential as a Taylor series:
$$e^{\cos x} = \sum_{k = 0}^{+\infty} \frac{(\cos x)^k}{k!}$$
hence the integral becomes
$$\sum_{k = 0}^{+\infty} \frac{1}{k!}\int \cos^k(x)\ \text{d}x$$
The integral can be evaluated with a "close" form (not really since it does involte an Hypergeometric Function which is itself a series) as follow:
$$\int \cos^k(x)\ \text{d}x = -\frac{\sin (x) \cos ^{k+1}(x) \, _2F_1\left(\frac{1}{2},\frac{k+1}{2};\frac{k+3}{2};\cos ^2(x)\right)}{(k+1) \sqrt{\sin ^2(x)}}$$
Hence in the end the solution:
$$\sum_{k = 0}^{+\infty} \frac{1}{k!}\left(-\frac{\sin (x) \cos ^{k+1}(x) \, _2F_1\left(\frac{1}{2},\frac{k+1}{2};\frac{k+3}{2};\cos ^2(x)\right)}{(k+1) \sqrt{\sin ^2(x)}}\right)$$
You may get satisfied in taking the first $n$ terms of the series...
Remarks
As I said, it's not a real close solutions, since it does involve two series and a Taylor expansion, but I believe it's the best you can obtain.