The correct option is
D When the spring is in the state of maximum compression, the kinetic energy in the centre of mass frame is zero.
A block of mass m moving with velocity v0 collide with a stationary
block of mass M to which a spring of stiffness k is attached.
From the given diagram in the question,
The velocity of the center of mass is,
vcm=mv0m+M. . . . .(1)
In the reference of center of mass,
Kinetic energy is K=12m(v0−vcm)2
Center of mass is moving so the kinetic energy is now
K′=12Mv2cm
The kinetic energy of the system is,
K.E=K+K′
K.E=12m(v0−vcm)2+12Mv2cm
substitue the value of vcm in the above equation and we get,
K.E=12mMm+Mv20
when the spring is in the state of maximum compression, kinetic energy is equal to spring potential energy,
K.E=12kx2 where, k= spring constant
12mMm+Mv20=12kx2