Hello All,
I just read in a book that springs are pretty much analogous to capacitors in terms of energy considerations to capacitors.
For eg.
If a mass m suspended by a spring comes to rest after downward displacement y,
Assuming compression = y
for equilibrium, mg=ky
thus k = mg/y...