A block of mass m containing a net negative charge -q is placed on a frictionless horizontal table and is connected to a wall through an unstretched spring of spring constant k. If the horizontal electric field E parallel to the spring is switched on, then the maximum compression of the spring is
Force on the block: F = qE toward left.
Let spring be compressed maximum by x. Then