The integral is
.
Simplify the integral is
\
Trignometry identity :
.



Consider
.
Differentiate on each side with respect to
.


Substitute
and
in the equation
.

Constant of integration :
.
Power rule of integral :
.


Substitute
in the above expression.


.
.