The integral is .
Apply integration by parts : .
Let then .
Consider .
Therefore .
.
Trigonometric property : .