The integral is
.
Consider
.
Substitute
.
Apply derivative on each side with respect to
.

.
Substitute
and
in
.



Apply trigonometry identity :
.



.
Apply formula :
.
Substitute
and
.


Apply formula :
.

.
Substitute
and
.


Apply the limits.
\



.
Therefore,
.
.