Hooke's Law:

1.) If it takes 10 N to compress a spring 20cm, how much energy will be stored in the spring when it is stretched 50cm.

***Also, for ex: If I am doing work against a restoring force, say, doing work against gravity, what kind of force is the elastic force of a spring?

1 answer

F = kx
solve for k
PE = 1/2 kx^2

Doesn't really have a name. Call it a spring force :)