Pendulum Simulation Exercises