First, check those parentheses. Please never write that again. Do not separate a function from its arguement.
Second, multiple numerator and denominator by "1+sin(T)"
First, pie is for eating. pi is for mathematics.
Second, cot(T) = cos(T)/sin(T)
Let's see those two. Then we can talk about the third.