Using the identity cosec^2 A=1 + cot^2 A