A body, having kinetic energy k, moving on a rough horizontal surface, is stopped in a distance x. The force of friction exerted on the body is
kx
Let f be the force of friction and m be the mass of the body.
The retardation a = f / m. If v is the initial speed of the body, then
2ax=v2
or max =12mv2=k
But ma=f. Therefore fx=k or f=kx.