Simple harmonic motion (SHM) is a type of periodic motion in which an object moves back and forth through an equilibrium position. It is characterized by a restoring force that is directly proportional to the displacement of the object from its equilibrium position. The motion is sinusoidal in time and demonstrates a single resonant frequency. SHM can be used to model various phenomena, such as the motion of a simple pendulum and molecular vibration. The acceleration of a particle executing SHM is given by a(t)=−ω2x(t)a(t)=-\omega^2x(t)a(t)=−ω2x(t), where ω\omega ω is the angular velocity of the particle
. For a spring-mass system, the restoring force is responsible for the SHM. The restoring force is given by the formula F=−kxF=-kxF=−kx, where kkk is the force constant and xxx is the displacement of the object from the equilibrium position