Answer:
-0.4454 Joules
Step-by-step explanation:
m = Mass of block = 2 kg
h = Height of extension = 17 cm = x
g = Acceleration due to gravity = 9.81 m/s²
Potential energy of the spring

The kinetic energy of the spring

In this system as the potential and kinetic energy is conserved from work energy equivalence we get

The work done by friction is -0.4454 Joules