Solve for θ cos(2theta-pi/2)=-1