Given, the mass of the block is
The following diagram shows the forces acting on the block while moving down the inclined plane.
Here,
The expression for the frictional force acting on the block is,
Here,
Balance the forces vertically with respect to the block as the block is in equilibrium with respect to vertical position of block,
Let net force
From equation (1) and (2),
When the block moves some distance and then comes to rest, the work done by the block in moving down is stored in the spring in the form of potential energy, hence
Here,
Substitute the values in the above expression.
Hence, the value of coefficient of friction is