pendulum ODE
Objective: objective:to create an animation of the movemnet of the pendulum by using the prescibed differential equations in the matlab Procedure:The procedur begins with first defining the equation constants such as the damping constant,mass,length of the pendulum and acceleration due to gravity.This is followed by giving the inital…