A force of 10N extends a spring of natural length 1m by 0.02m, calculate the…