Q.
Two blocks and having equal mass are to move on a horizontal frictionless surface. is attached to a massless spring as shown in figure. Initially is at rest and is moving toward with speed and collides head-on with .

Solution: