- Physics models are created using matplotlib library matplotlib.animation in Python 3.6
- Equation of motion are obtained by Lagrangian principle and Newton's second law
- The differential equations are solved by approximation techinque similar to RK2 and RK4 methods
vijayphsci / physics_models Goto Github PK
View Code? Open in Web Editor NEWThis repository contain different plots for physical system such as damped harmonic system; pendulums ;coupled systems ; two body and three body interaction problem (forces that follow inverse squared law i.e. gravitational ;electrostatic ) ; providing proper physical parameters may give nice plots of the system. the code for the system based on OOPs so that parameters can be given manually .while default parameters are given you can try with different ones to get nice and smoother plot. Take care of overflow in program!