A simple simulation of the pendulum
- Scipy
- Numpy
- Matplotlib
- Python(3.8 later is better)
python singlependulum.py
or
python doublependulum_nlp.py
- difeq
- Differential equation of the pendulum(adjust the coefficient etc. if necessary)
- gen
- Create a diagram from the coordinates of the two mass points of the pendulum
- animate
- A function for
FuncAnimation
in matplotlib
- A function for