A program to simulate the transient behavior of a simple pendulum and to create an animation of it's motion.
Objective: Objective: Your objective is to write a program that solves the ODE that represents the equation of motion of a simple pendulum with damping. Concept: In Engineering, ODE is used to describe the transient behavior of a system. A simple example is a pendulum. The way the pendulum moves depends on the Newtons second…