Consider two blocks A and B of masses $m_1 = 10kg$ and $m_2 = 5kg$ that are placed on a frictionless table. The block A moves with a constant speed $v = 3m/s$ towards the block B kept at rest. A spring with spring constant $k = 3000N / m$ is attached with the block B as shown in the figure. After the collision, suppose that the blocks A and B, along with the spring in constant compression state, move together, then the compression in the spring is, (Neglect the mass of the spring)
(see the figure above)

- (1)
0.1 m
- (2)
0.2 m
- (3)
0.4 m
- (4)
0.3 m
Show answer
Option (1) is correct.
Key from source paper