Simple harmonic motion is the kind of vibratory motion in Physics in which the body moves back and forth about…