Answer:
So coefficient of kinetic friction will be equal to 0.4081
Explanation:
We have given mass of the block m = 0.5 kg
The spring is compressed by length x = 0.2 m
Spring constant of the sprig k = 100 N/m
Blocks moves a horizontal distance of s = 1 m
Work done in stretching the spring is equal to 
This energy will be equal to kinetic energy of the block
And this kinetic energy must be equal to work done by the frictional force
So 


So coefficient of kinetic friction will be equal to 0.4081
This is possible due to inertia of motion. which is nothing but newton's first law.
according to this law , an object tries to retain its state of motion or rest unless acted upon by an external force.
consider an object placed on a paper, initially both the object and paper are at rest. to pull the paper , we apply force on the paper and paper gains velocity. but the object keeps its motion of rest and hence the paper can be removed without moving the object.