The integral is
.
Rewrite the integral as 

Recall the trigonometric identity 

Recall the algebraic formula:



Assume
.
Differentiate on each side with respect to
.

Substitute
in above integral summation.

Power rule of integration:

Replace
in above expression.




Solution:
\
\
\
\
\