The integral function is
.

Let
.
Apply derivative on each side with respect to
.

Substitute
and
in integral function.



Trigonometric property:
.



.
Double angle identity:
.



Double angle identity:
.




Rewrite the equation using double angle formula.
\
.
.


Substitute the correponding values in the integral function.
\







.
.