I started with the definition / alternative form of $\cos(x) := \frac{1}{2} \cdot (e^{-ix} + e^{ix})$ and nested it $\frac{1}{2} \cdot (e^{-\frac{1}{2}i(e^{-ix} + e^{ix})} + e^{\frac{1}{2}i(e^{-ix} + e^{ix})})$
Well and now I'm a little bit overwhelmed what to do next and how to integrate it. Is there a trick?