Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Thi Pus) Problem 2 This is totally fine e t, due to the s ol TO ) Sve Zeller's congruence developed by German mathematician Christian

image text in transcribed
Thi Pus) Problem 2 This is totally fine e t, due to the s ol TO ) Sve Zeller's congruence developed by German mathematician Christian to determine the day of the week of any calendar date. The formula cian Christian Coller in the late 1 he formula states way = (a + 3 m+ 1) + K+ + +53) mod 7 turday, 1 = Sunday, 2 Monday, etc.), is the day of the Ach, 4 - April, 5 - May, ... , 12 December, 13 January, century (e.g., K - 19 for 2019), and J is the century (e.g., J-20 where h is the day of the week (with 0 = Saturday, 1 = month (1-31), m is the month (with 3 = March, 4 = AF 14 = February), K is the year of the century (e.g., for 2019). Note that the brackets in this expression mean "floor" - i.e., next integer. The tricky part about this formula and 14th months of the previous year. Here are mean "floor" - i.e., round down the result of the division to the formula is that January and February are treated as the 13th F. Here are two examples of how to apply Zeller's congruence: Example 1: July 20, 1969 9 = 20, m = 7, K = 69, J = 19 Using these values, Zeller's congruence yields h = 1, which congruence yields h = 1, which corresponds to Sunday. Example 2: February 9, 2000 ebruary is treated as the 14th month of the previous year, 19 = 9, m= 14, K = 99, J = 19 ce values, Zeller's congruence vields h 4, which corresponds to Wednesday

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions