cos^2(x) + 2 cos x + 1 = 0