Solving Second Order ODE
Objective: I. AIM: To Simulate the motion of a Simple Pendulum by solving Secong Order Ordinary Differential Equation. II. EXPLANATION: The following steps are carried to simulate a transient movement of a simple pedulum and to animate its motion. STEP 1: The input variables are first declared in the function declaration section…