A block of mass m1 = 4kg at rest on a horizontal frictionless surface is connected to an unstretched spring with spring constant 500 N/m whose other end is fixed. A second block of mass m2 = 1kg whose speed is 10m/s collides with the first block.

If the two blocks stick together after the one-dimensional collision, find the maximum distance d (in cm) by which the spring is compressed.
Know your College Admission Chances Based on your Rank/Percentile, Category and Home State.
Get your JEE Main Personalised Report with Top Predicted Colleges in JoSA
By COM
m2v = (m1 + m2)v'
By COE