Exercise on Hooke's Law