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