How do you solve #Cos^2 theta + sin theta = 1#?