How do you solve #Cos^2 theta(1+tan^2 theta)=1#?