The integral is .
Apply trigonometric formula of integration:.
.
Check the solution by using differentiation.
Consider .
Apply derivative on each side with respect to .