The integral function is .
Assume .
Apply derivative on each side with respect to .
Substitute and in the integral function.
Trignometry identity .
.
As then .
If then by phythogarous theorem, .
Substitute in the .