The integral expression is
.
Consider
.
Assume
.
Apply derivative on each side.
\

.
Change in integral limits:
\Lower limit: If
, then
.
Upper limit: If
, then
.
If
, then
.
Substitute
,
and change of limits in
.

Integral formula:
.

Trigonometric property:
.

Replace
with
.
.
.