Pendulum With Disk Simulation run PendulumWithDiskMAIN.m to see a simulation of a pendulum with disk and oscillating torque from a motor between pendulum and disk.