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 |
Results tagged with orbit
Search options questions only
not deleted
user 9637
1
vote
2
answers
439
views
Earth's orbit and historical sun-earth distance
Radius calculation
In my code the radius calculation is defined as
o->R =1.000001018*(1.0-e*e)/(1.0+e*cos(f));
where e - eccentricity of the earth's orbit:
f- true anomaly of the sun:
void getSolarPosition … 280.46645+36000.76983*T+0.0003032*T*T;
// M - Mean anomaly of the sun:
double M = 357.52910+35999.05030*T-0.0001559*T*T-0.00000048*T*T*T;
double M_rad = M * degRad;
// e - eccentricity of the earth's orbit …