How do you solve #sin2x-cosx=0 # over the interval 0 to 2pi?