Simulation of Pendulum System:
A pendulum is a weight suspended from a pivot so it can swing freely. The period depends on the length of the pendulum and also to a slight degree on the amplitude, the width of the pendulum’s swing. When released, the restoring force acting on the pendulum’s mass causes it to oscillate about the equilibrium position, swinging back and forth. The time in support of one complete cycle, a left swing and a right swing, is called the period.
Source:
[1] Wikipedia Contributors. “Pendulum.” Wikipedia, Wikimedia Foundation, 11 Dec. 2020, en.wikipedia.org/wiki/Pendulum. Accessed 21 Dec. 2020.