Pendulum Simulation
Objective: Wrote a Matlab script to solve the non-linear pendulum equation and simulate it. The equation being solved is: where b is the damping coefficient (0.05), m is the mass of the pendulum bob (1 kg), L is the length of the pendulum (1 m), theta is the angular displacement and g is the gravitational acceleration (9.82 m/s2).…