A Hooke's spring is an elastic mechanical spring that builds up a restoring force $$F$$ when stretched or compressed. For a Hooke's spring, the restoring force depends on the deflection $$y$$ and increases linearly with the deflection:
Here, $$D$$ is a spring constant that indicates how stretchable a spring is.