Solve the equation for [0,2pi]
cos2x=1/sqrt2
cos2x=1/sqrt2