Asked by Casey
Question is about Step Functions:(between" " are all floor functions.
The formula W=d+2m+"(3(m=1)/5)"+y+"y/4" -"y/100" + "y/400" + 2 gives the day of the month of the given date; m = the number of the month in the year with January and February regarded as the 13th and 14th months of the previous year; that is , 2/22/90 is 14/22/89. The other months are numbered 3 to 12 as usual; and y = the year as a 4-digit number.Once W is computed, divide by 7 and the remainder is the day of the week, with Saturday = 0, Sunday = 1,..., Friday = 6.
I need to find what day my birthday lies on. Everytime i try it always comes out to something different.My birthday is 4/11/1995.Somebody please help!
The formula W=d+2m+"(3(m=1)/5)"+y+"y/4" -"y/100" + "y/400" + 2 gives the day of the month of the given date; m = the number of the month in the year with January and February regarded as the 13th and 14th months of the previous year; that is , 2/22/90 is 14/22/89. The other months are numbered 3 to 12 as usual; and y = the year as a 4-digit number.Once W is computed, divide by 7 and the remainder is the day of the week, with Saturday = 0, Sunday = 1,..., Friday = 6.
I need to find what day my birthday lies on. Everytime i try it always comes out to something different.My birthday is 4/11/1995.Somebody please help!
Answers
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.