Consider the system shown below, with two equal masses m and a spring with spring constant K. The coefficient of friction between the left mass and horizontal table is , and the pulley is frictionless. The string connecting both the blocks is massless and inelastic. The system is held with the spring at its unstretched length and then released. The extension in spring when the masses come to momentary rest for the first time is
from work energy theorem,