Three body problem

版本 1.0.2 (3.8 KB) 作者: andrea
Just a simple script to compute the trajectory of three bodies under their reciprocal gravitational influence.
698.0 次下载
更新时间 2021/8/29

查看许可证

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

引用格式

andrea (2025). Three body problem (https://www.mathworks.com/matlabcentral/fileexchange/96932-three-body-problem), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2021a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.2

The 2D version also implements the the Verlet algorithm.

1.0.1

bug fixed

1.0.0