How do you find all solutions of the equations #cos^3x=cosx# in the interval #[0,2pi)#?