[Home] [Puzzles & Projects] [Delphi Techniques] [Math topics] [Library] [Utilities]
|
|
Centuries That Start on SundayProblem DescriptionI can't remember where I ran across this one, but the problem is to calculate the probability that a century begins on a Sunday. Background and techniquesThe attached program calculates and prints the day of week for January 1sts for centuries between 1500 and 4500 AD. The problem assumes the Gregorian calendar, the one we use today implemented by Pope Gregory in 1584. When you see the results, the problem will switch from the probability of Sundays to explaining the results you observe. The source code has extensive comments explaining things, but I encourage you to run the program and think about it first. Exploring the Program
Suggestions for Further Study
|
[Feedback] [Newsletters (subscribe/view)] [About me]Copyright © 2000-2018, Gary Darby All rights reserved. |