The integral is .
Subustiute , .
Limits of integration change from to to .
.
From the pythagorean identity :.
From the reciprocal identitites : .