How do I find all solutions for 2cos^2x−1=0 on [0,2π]?