Learn the modular arithmetic method to calculate the day of the week for any given date. This topic covers century codes, month codes, and year calculations for CBSE Class 11 Applied Mathematics.
To find the day of the week for any date, we use modular arithmetic (modulo 7). A week has 7 days, so we calculate the sum of codes for the date, month, century, and year, and find the remainder when divided by 7. The remainder corresponds to a specific day of the week, starting with Sunday=0, Monday=1, ..., Saturday=6.
• Step 1: Identify components. Date=15. Month code for August=2.
• Step 2: Calculate Year Code. Last two digits (Y)=47. Number of leap years in 47 years = floor(47/4) = 11.
• Step 3: Century Code for 1900-1999 is 0.
• Step 4: Sum the components: (15 + 2 + 47 + 11 + 0) = 75.
• Step 5: Calculate remainder: 75 mod 7 = 5.
• Step 6: Map remainder to day: 0=Sun, 1=Mon, 2=Tue, 3=Wed, 4=Thu, 5=Fri.
Answer: Friday
To perform the calculation, you must memorize or derive the reference codes: Month codes (Jan:0, Feb:3, Mar:3, Apr:6, May:1, Jun:4, Jul:6, Aug:2, Sep:5, Oct:0, Nov:3, Dec:5) and Century codes (1700-1799:4, 1800-1899:2, 1900-1999:0, 2000-2099:6). Note: For leap years, January is 6 and February is 2.
• Step 1: Date=26. Since 2024 is a leap year, January code = 6.
• Step 2: Last two digits of year (Y) = 24. Leap years in 24 = 24/4 = 6.
• Step 3: Century code for 2000s = 6.
• Step 4: Total = (26 + 6 + 24 + 6 + 6) = 68.
• Step 5: Remainder = 68 mod 7 = 5.
• Step 6: Mapping: Remainder 5 corresponds to Friday.
Answer: Friday