Question
A block of mass m containing a net positive charge q is placed on a smooth horizontal table which terminates in a vertical wall as shown in figure. The distance of the block from the wall is d. A horizontal electric field E towards right is switched on. Assuming elastic collisions (if any) find the time period of the resulting oscillatory motion. Is it a simple harmonic motion?

$\text{d}=\text{ut}+\Big(\frac{1}{2}\Big)\text{at}^2$