Mathematical pendulum

Simulation of the oscillation of a mathematical pendulum. All important parameters can be changed. The simulation also plots how the angle of the pendulum relative to the vertical position depends on time.