Home
Pendulum Simulation
Pendulum Period (in seconds)
Initial Angle from vertical (in degrees)
Timer Interval (in seconds)
error (in milliseconds)
gravity
pendulum length (in metres)
Maximum speed (in metres per second)
Animation Code (executed at timer interval):
acceleration = gravity * angle;
velocity += acceleration;
angle += velocity;
Plot Output
Saturday, June 16, 2018.