How do you solve #abs(cosx)=1/2# in the interval [0,360]?