Question
Question: A block of mass m is moving with a speed v on a horizontal rough surface and collides with a horizon...
A block of mass m is moving with a speed v on a horizontal rough surface and collides with a horizontally mounted spring of spring constant k as shown in the figure. The coefficient of friction between the block and the floor is μ . The maximum compression of the spring is :

−kμmg+k1(μmg)2+mkv2
kμmg+k1(μmg)2−mkv2
−kμmg−k1(μmg)2−mkv2
kμmg+k1(μmg)2+mkv2
−kμmg+k1(μmg)2+mkv2
Solution
In presence of friction, both the spring force and the frictional act so as to oppose the
compression of the spring.
Work done by the net force
W=−21kxm2−μmgxm
Where Xm is the maximum compression of the spring. Change in kinetic energy.
ΔK=kf−ki=0−21mv2
According to work-energy theorem
W=Δk
−21kxm2−μmgxm=−21mv2
21kxm2+μmgxm=−21mv2
kxm2+2μmgxm−mv2=0
xm2+k2μmgxm−kmv2=0
It is a quadratic equation in xm .
Solving this quadratic equation for and taking only positive root since
is positive, we get