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