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