Three body problem
Version 1.0.2 (3,83 KB) von
andrea
Just a simple script to compute the trajectory of three bodies under their reciprocal gravitational influence.
This simple script was inspired by one of the Feynman lecture about Newton's law of dynamics. The aim is to show that just with the laws of motion and a basic numerical method is possible to find an approximate solution of a tremendously complex problem.
The theory can be found in the lecture:
Newton’s Laws of Dynamics
9–6 Numerical solution of the equations
Zitieren als
andrea (2024). Three body problem (https://www.mathworks.com/matlabcentral/fileexchange/96932-three-body-problem), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2021a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.2 | The 2D version also implements the the Verlet algorithm. |
||
1.0.1 | bug fixed |
||
1.0.0 |