Mass of the block, m = 1 kg
Spring constant, k = 100 N m–1
Displacement in the block, x = 10 cm = 0.1 m
The given situation can be shown as in the following figure.

At equilibrium:
Normal reaction, R = mg cos 37°
Frictional force, f= μR = mg sin 37°
Where, μ is the coefficient of friction
Net force acting on the block = mg sin 37° – f
= mgsin 37° – μmgcos 37°
= mg(sin 37° – μcos 37°)
At equilibrium, the work done by the block is equal to the potential energy of the spring, i.e.,
