Case (i)
When the surface is smooth; the entire KE of the block is stored in the spring as elastic PE. If x0 is the maximum compression produced in the spring; we have
When the surface is rough; work has to be done to overcome friction and to cause a compression in the spring.
For a compression ‘x’ in the spring, we have μ = ax .
∴ Force of friction for a compression x is
Work done against friction for a maximum compression x1 (say) is
Energy stored in the spring = 1/2 K \(x^2_1\)
From law of conservation of energy;