A simple pendulum also exhibits SHM. It consists of a small bob of mass 'm' suspended from a light string…