Simple Pendulum Simulation
This system models a simple pendulum system with an applied external moment that varies periodically.
Associated with the demo is an animation function that will automatically open a figure window and display to it.
Try experimenting with different initial conditions and different setting for the applied moment M.