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