A pendulum bob executing simple harmonic motion has 2cm and 12Hz as amplitude and frequency…