A spring mass system as shown in figure is suspended in a constant electric field E. A charge q is given to the mass.