A body of mass M and charge q is connected to a spring of spring constant k. It is oscillating along x-direction about its equilibrium position