Concept:
- Work-energy theorem: the net work done on a body equals its change in kinetic energy, \(W_{\text{net}} = K_f - K_i\).
- Work done by the spring while it is compressed by \(x\) from its natural length is \(-\dfrac{1}{2}kx^2\), where \(k\) is the spring constant.
- Kinetic friction \(f\) opposes the sliding, so over a distance \(x\) it does work \(-fx\).
Step 1: Write the energy balance
The block moves a distance \(x\) from first contact until it is momentarily at rest. Gravity and the normal reaction are perpendicular to the motion and do no work. Therefore \[ 0 - \frac{1}{2}mv^2 = -\frac{1}{2}kx^2 - fx, \] that is, the initial kinetic energy is shared between the energy stored in the spring and the energy dissipated by friction: \[ \frac{1}{2}mv^2 = \frac{1}{2}kx^2 + fx. \]
Step 2: Substitute the data
With \(m = 2\,\text{kg}\), \(v = 4\,\text{m/s}\), \(f = 15\,\text{N}\) and \(k = 10000\,\text{N/m}\): \[ \frac{1}{2}(2)(4)^2 = \frac{1}{2}(10000)x^2 + 15x \] \[ 5000x^2 + 15x - 16 = 0. \]
Step 3: Solve the quadratic
\[ \begin{aligned} x &= \frac{-15 \pm \sqrt{15^2 + 4(5000)(16)}}{2(5000)} \\ &= \frac{-15 \pm \sqrt{320225}}{10000} \\ &\approx \frac{-15 \pm 565.9}{10000}. \end{aligned} \] The compression must be positive, so \[ x \approx \frac{550.9}{10000} = 0.0551\,\text{m} \approx 5.5\,\text{cm}. \]
Step 4: Check the result against the energies
Spring energy: \(\tfrac{1}{2}(10000)(0.055)^2 \approx 15.1\,\text{J}\). Friction loss: \(15 \times 0.055 \approx 0.8\,\text{J}\). The total is about \(16\,\text{J}\), equal to the initial kinetic energy. A larger compression such as \(8.5\,\text{cm}\) or \(11.0\,\text{cm}\) would need far more than \(16\,\text{J}\), and \(2.5\,\text{cm}\) would use only a small part of it.
Step 5: Conclusion
The spring is compressed by about \(5.5\,\text{cm}\). Hence, the correct option is (B), \(5.5\,\text{cm}\).