Matlab Database > Ordinary Differential Equations > Three-body system (3D)

Matlab File(s)

Title: Three-body system (3D)
Primary Author: M2-TUM
Other Authors:Corinna Hager
E-Mail: matlabdb-AT-ma.tum.de
Institution: TU Munich
Description: threebody.m starts a GUI, which animates the three-body system in 3D. The initial values and the parameter mu and omega of the ODE-system can be changed in the GUI. The ODE-system is as follows:

x''=w^2*x+2*w*y'-muh*(x+mu)/N1-mu*(x-muh)/N2
y''=w^2*y-2*w*x'-muh*y/N1-mu*y/N2
z''=-muh*z/N1-mu*z/N2

with muh=1-mu, N1=((x+mu)^2+y^2+z^2)^1.5, N2=((x-muh)^2+y^2+z^2)^1.5
Keywords: three-body, Runge Kutta, 3D, orbit
File Name: three-body(3D).zip
File Size: 23 KB
File Version: 1.0
Matlab Version: 7.0 (R14)
Date: 2009-07-28
Downloads: 1370
Download File

Upload your own files today! Click here for more information.