Hello synclastica_86When you replace by , where , and then separate off the cosine term the only bit that needs any work is an integral of the form . As far as I know, the only way is to use Parts twice, to reduce the term to a constant, and then finally integrate the remaining trig term. You end up with

I hope that is helpful.

Grandad