Simulation of the motion of a compound pendulum
Objective: The objective of this challenge is to simulate the motion of a compound pendulum, plot the trace of point P2 with respect to the ground and also plot the X and Y component of reaction forces on point P0 vs time. Introduction: A simple pendulum is one which has a mass suspended from a string that is considered…