Calculating What Date Will it Be in 50,000 Days

  • Thread starter Thread starter rhimmelblau
  • Start date Start date
rhimmelblau
Messages
7
Reaction score
0
Is there a formula to calculate what date it will be in a certain number of days? I've tried to work this out on my own but don't know what to do with those pesky leap years.

Say you figured out that a comet you want to see will have its closets approach to Earth again in 50,000 days, and you want to mark it on your calendar.
 
Mathematics news on Phys.org
Just work Mod7 .
 
rhimmelblau said:
Is there a formula to calculate what date it will be in a certain number of days? I've tried to work this out on my own but don't know what to do with those pesky leap years.

Say you figured out that a comet you want to see will have its closets approach to Earth again in 50,000 days, and you want to mark it on your calendar.

You should read the wiki on leap years since it's a little more complicated than just adding a day every 4th year.

Also, are you looking for an algorithm (what calculators would probably use) to find the date, or do you want an actual formula which I'd have to admit would be more complicated?
 
Mentallic said:
You should read the wiki on leap years since it's a little more complicated than just adding a day every 4th year.

Also, are you looking for an algorithm (what calculators would probably use) to find the date, or do you want an actual formula which I'd have to admit would be more complicated?

Looking for a algorithm I could punch into my calculator or include in a piece of code.
 
Alright well it's not too hard to deal with leap years. Basically, it's a leap year every 4 years, except every century (not including every 400 years).
 
For the Gregorian calendar, a year is a leap year if it is evenly divisible by 4, except in the case of century years (which end in '00'), which must be evenly divisible by 400. Thus, 2000 was a leap year while 1900 was not and 2100 will not be.

http://en.wikipedia.org/wiki/Gregorian_calendar

This paper describes some algorithms for calendrical calculations:

http://www.cs.tau.ac.il/~nachumd/papers/cc-paper.pdf

Most spreadsheets like Excel include date calculating functions built in. In any event, most of these routines use Julian date calculations, where each date on the calendar has a unique integer, called a Julian Day Number (JDN), associated with it.

http://en.wikipedia.org/wiki/Julian_day
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Replies
2
Views
11K
Replies
10
Views
2K
Replies
2
Views
2K
Replies
10
Views
2K
Replies
2
Views
2K
Replies
5
Views
2K
Back
Top