Solving ODE using Octave: Simple Pendulum
Objective: In this project, an Ordinary Differential equation (ODE) defining the motion of a simple pendulum was solved using 'lsode' command in Octave (similar to ode45 in Matlab) The ODE of a simple pendulum with damping was used. `(d^2theta)/dt^2+b/m(d theta)/dt+g/L(sintheta)=0` In the above equation, g = gravity =9.81`ms^-2`…