
Arturo O. answered 02/16/18
Tutor
5.0
(66)
Experienced Physics Teacher for Physics Tutoring
If I am interpreting the information correctly, all of the potential energy of the compressed spring is lost to friction, which brings the block to rest. I suggest equating the elastic potential energy of the compressed spring to the absolute value of the work done by friction, and use that to find the final distance in the second case.
f = force of friction, which I assume is a constant (μmg)
d = distance traveled under friction
When compressed by -D:
kx2/2 = fd
k(-D)2/2 = f(3D)
kD2/2 = 3fD
kD/2 = 3f
f = kD/6
Now use this f to calculate a new d' for the spring compressed by -2D.
k(-2D)2/2 = fd' = (kD/6)d'
k(4D2)/2 = (kD/6)d'
2D = d'/6
d' = 12D
So I get that it should be 12D. Were you given an answer to check your result?