n/m
m
J

Formula

Spring Potential Energy:
U = ½ kx2

Spring Force Constant:
k = 2u / x2

Spring Stretch Length:
x = √(2U/k)

Where,
U = Spring Potential Energy,
k = Spring Force Constant,
x = Spring Stretch Length.