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