Step 1: Work-Energy Principle.
The block moves under the influence of friction, and the work done by the frictional force brings the block to rest. The frictional force is given by:
\[
f = \mu mg
\]
where \( m \) is the mass of the block and \( g \) is the acceleration due to gravity. The work done by the frictional force is equal to the change in kinetic energy:
\[
\text{Work} = f \times d = \mu mg \times d = \frac{1}{2} m u^2
\]
where \( d \) is the distance covered by the block and \( u \) is the initial velocity. Solving for \( d \), we get:
\[
d = \frac{u^2}{2 \mu g}
\]
Step 2: Final Answer.
Thus, the distance covered by the block before coming to rest is \( \frac{u^2}{2 \mu g} \).