How do you solve #2cos^2x=1# in the interval [0,360]?