Skip to content

A simple script that propagates the state of a pendulum using python and numpy and plots it using matplotlib

Notifications You must be signed in to change notification settings

rrhd/python-pendulum-plot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

python-pendulum-plot

A simple script that propagates the state of a pendulum using python and numpy and plots it using matplotlib

This script uses a second-order forward difference Euler scheme to propagate the state of a pendulum (the angle) for large and small angles (no small angle approximation). The data is stored in a numpy array which is then plotted using matplotlib. Several different initial velocities are plotted.

About

A simple script that propagates the state of a pendulum using python and numpy and plots it using matplotlib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages