Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Celestial body that orbits following an elliptical path around a star or stellar remnant.
2
votes
Simulating solar system with Newton's law
Now I replaced to NAIF cspice.lib and download a general SPK file for only the planets, and the error is really small without other gravity bodies like asteorids and comets. …
15
votes
3
answers
3k
views
Simulating solar system with Newton's law
I made a simulation in C++ with Newtons law and test it comparing the planets positions with the position from Solar system Calculator Don Cross (which I converted from JavaScript to C++)
http://cosinekitty.com … \ \mathrm{km}$
$\mathrm{Saturn} \ 261.2 \ \mathrm{km}$
$\mathrm{Uranus} \ 71.4 \ \mathrm{km}$
$\mathrm{Neptune} \ 31.3 \ \mathrm{km}$
$\mathrm{Pluto \ X \ } \ 45.7 \ \mathrm{km}$
As you see some planets …