The work done when a spring is stretched from 0 to 40cm is 4J.
What is work done?
Work done is the magnitude of force multiplied by displacement of an object. It is also the amount of energy transferred to an object when work is done on that.
The work done on the spring to stretch to 40cm is,
F = kx
where F is force, k is force constant.
k = F / x = 10 N / 20 * 10^-2 m = 50 N/m
W = 0.5 * k * (x)^2
where W = work done, k = force constant.
W = 0.5 x 50 x (40 x 10^-2)^2 = 4 J.
Therefore, the work done on the spring when it is stretched to 40cm is 4J.
To learn more about work done click on the given link brainly.com/question/25573309
#SPJ4