How do you find all solutions to the equation #cos2x=1/2#?