Skip to main content

All Questions

0 votes
1 answer
138 views

Sun-Earth-Moon-Spacecraft four-body simulation using MATLAB - unexpected results [closed]

I'm trying to simulate this four-body system by directly integrating the system of equations $$\ddot{\textbf{x}} = \sum_{i=1\:i\neq k}^4 G\frac{m_i}{|\textbf{x}_i-\textbf{x}_k|^3}(\textbf{x}_i-\textbf{...
Zypher's user avatar
  • 3
1 vote
0 answers
75 views

How to calculate the new position at time $t$ of celestial bodies with variable acceleration?

Intro For an $N$-body simulation of celestial bodies I need to calculate on the one hand the accelerations of the celestial bodies based on the received gravitational forces [done] and on the other ...
Dawid's user avatar
  • 111
-2 votes
1 answer
530 views

Finding free orbit formula by cartesian coordinate

As a simple idea, I want to find a simple orbital function using calculus rather than using the law of Kepler. However, using the recurrence relation is too difficult to solve. Help me to solve...
Uus293's user avatar
  • 11
2 votes
1 answer
147 views

Solar System Position and Velocity data

I'm trying to create an nbody simulator and to test it I'd like some real world data. A good test would be the solar system. I've come across the JPL Horizons software but if cant seem to figure out ...
user7971589's user avatar
2 votes
2 answers
1k views

Which timestep should I use for a $N$-body simulation of the Solar system?

I am trying to implement a $N$-body simulation of the Solar system and I am stuck on the issue of the simulation timestep size. At first I would like to use a simple Euler stepping scheme. Knowing ...
BigONotation's user avatar