Solve 2sin^2 x - 1 = 0 on [0, 2pi)