The integral is .
Verify the formula by differentiating right hand side expression.
Trigonometric identity : .
Above expression is same as the left hand function in the integral formula.
Hence the formula is verified.
.