I stumbled across the following integral:- $$I_{n}=\int\frac{\cos nx}{5-4\cos x}dx$$ where $n$ is a positive integer.
I have no idea how to proceed....I tried integration by parts and even writing $\cos(x)=\frac{e^{ix}+e^{-ix}}{2}$
I couldn't make much headway..... Any ideas on how to proceed would be appreciated.
EDIT:
This question is different from @amWhy has marked..I want to evaluate indefinite integral ..Not the definite one.