Two indentical blocks each of mass M=9 kg are placed on a rough horizontal surface of coefficient of static friction μ=0.1, assume static and kinetic coefficient of friction to be equal. The two blocks are joined by a light spring and block B is in contact with a vertical fixed wall as shown in figure. A bullet of mass m=1 kg and velocity Vo=10 m/s hit the block A and gets embedded in it.
Find the maximum compression of spring (Take spring constant k=240 N/m and g=10 m/s2.