How do you solve the following equation # cos 2(x)- cos(x)- 1 = 0# in the interval [0, 2pi]?