What is Hooke's law?
“The restoring force is directly proportional to the displacement from the equilibrium position,” according to Hooke's law. A spring is linked to a block and fixed to the wall on a horizontal plane, and the block is placed in such a way that it can move horizontally. When the block slides horizontally away from the wall, the spring strives to recover its position, resulting in oscillatory motion. The restoring force attempts to prevent distortion of the spring. This restorative force comes from
The negative sign in Fs=–kx indicates that the force is acting in the opposite direction of the displacement x. This is known as Hooke's law.