Given,
Potential energy of the block at the top of the curved track = Kinetic energy of the block at the bottom of the track
Again on the horizontal surface the frictional force,
So, the K.E. is used to overcome friction.
The block stops after covering 5 m on the rough surface.