Solve the equation cos3x=1^2 where x is radian