Solution of 1 + cosx = 0 in [0 , 2π]