TurtleMeister
- 897
- 90
365.25 daysJimmy B said:T M, what would say if someone asked you how long does it take the Earth to go round the Sun?
365.25 daysJimmy B said:T M, what would say if someone asked you how long does it take the Earth to go round the Sun?
if year is divisible by 400 then
is_leap_year
else if year is divisible by 100 then
not_leap_year
else if year is divisible by 4 then
is_leap_year
else
not_leap_year
cal 1752
$ cal 1752
1752
January February March
Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
1 2 3 4 1 1 2 3 4 5 6 7
5 6 7 8 9 10 11 2 3 4 5 6 7 8 8 9 10 11 12 13 14
12 13 14 15 16 17 18 9 10 11 12 13 14 15 15 16 17 18 19 20 21
19 20 21 22 23 24 25 16 17 18 19 20 21 22 22 23 24 25 26 27 28
26 27 28 29 30 31 23 24 25 26 27 28 29 29 30 31
April May June
Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
1 2 3 4 1 2 1 2 3 4 5 6
5 6 7 8 9 10 11 3 4 5 6 7 8 9 7 8 9 10 11 12 13
12 13 14 15 16 17 18 10 11 12 13 14 15 16 14 15 16 17 18 19 20
19 20 21 22 23 24 25 17 18 19 20 21 22 23 21 22 23 24 25 26 27
26 27 28 29 30 24 25 26 27 28 29 30 28 29 30
31
July August September
Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
1 2 3 4 1 1 2 14 15 16
5 6 7 8 9 10 11 2 3 4 5 6 7 8 17 18 19 20 21 22 23
12 13 14 15 16 17 18 9 10 11 12 13 14 15 24 25 26 27 28 29 30
19 20 21 22 23 24 25 16 17 18 19 20 21 22
26 27 28 29 30 31 23 24 25 26 27 28 29
30 31
October November December
Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7 1 2 3 4 1 2
8 9 10 11 12 13 14 5 6 7 8 9 10 11 3 4 5 6 7 8 9
15 16 17 18 19 20 21 12 13 14 15 16 17 18 10 11 12 13 14 15 16
22 23 24 25 26 27 28 19 20 21 22 23 24 25 17 18 19 20 21 22 23
29 30 31 26 27 28 29 30 24 25 26 27 28 29 30
31
D H said:You made another error somewhere in your computation of the Earth's gravitational parameter. That number is just wrong.
You also made a mistake in multiplying the mass of the Sun by the gravitational constant. The standard gravitational parameters are observables. The mass of the Sun is computed by dividing the solar gravitational constant by the universal gravitational constant. Use the wrong value of G (e.g., the value provided by google) and you'll get a wrong value. Use inconsistent values of the solar mass and G (e.g., the values provided by wikipedia) and you'll get a wrong answer.
You'll also get a wrong answer if you use 1.00000261 au (value provided by wikipedia) as the length of the Earth's semi-major axis. That value is wrong.
If you use 149597887.5 km as the semi-major axis length and a combined Sun+Earth+Moon gravitational parameter of 132712440018+398600.4418+4902.7779 km3/s2, you'll get a value for the period that is within 3.8 seconds of the sidereal year (*not* anomalistic year): http://www.wolframalpha.com/input/?....4418+4902.7779)+km^3/s^2))+-+1+sidereal+year.
That's about as good as you're going to get with this simplistic formula that ignores the effects of the other planets and that ignores relativistic effects.
Jimmy B said:Now you’ve mentioned ellipses. How far does the Earth travel around the Sun each year?
365.25636004 days * Earths average velocity 29784.813 m/s = 939.9536 million kilometres.
Or?
(360 degrees / 365.25636004 days) * 939.9536 million kilometres = 939.89623 million kilometres
sshai45 said:I'm curious then -- what's the "next-more-complicated but as simple as possible" formula or method that would allow one to get to just within sub-second accuracy? Also, how much accuracy does one need to demand before one has to start getting into General Relativity?