How do you solve cos (x) = 1/2 over the interval 0 to 2pi?