A block of mass m has initial velocity u having direction +x axis. The block stops after covering distance S causing an extension in the spring of spring constant K holding it. If μ is the kinetic friction between the block and the surface on which it was moving, the distances S is :