Question
The figure shows a block of mass M, attached to an uncompressed spring of spring constant k, resting on a frictionless surface. A bullet of mass m, travelling with a constant horizontal velocity v hits the block and gets embedded inside. What is the maximum compression of the spring?