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