Solve for θ 2cos(theta)+1=0