how to calculate following integral ?
Here is a graph
https://www.desmos.com/calculator/vgh4o79bdw
And here is the integral
http://www.wolframalpha.com/input/?i=integral%28e%5Ex%2Fcos%28x%29%29
You only get "complex solution". I can give to you if you can follow it?