In: Out: .
Firstly using double angle trig formulas you have
This can now be split into 2 integrals
The first integral gives the second integral needs the use of integration by parts twice as follows
Putting this all together we get a final solution
Hope that's helpful.
PS. I have assumed that n is an integer and thus that