based on Hooke's law