contestada

if a spring stores 5j of energy when it is compressed by0.5m,what is the spring constant of the spring?