Use modular arithmetic to determine the following a On a 12h
Use modular arithmetic to determine the following.
(a) On a 12-hour clock, what time will a clock show in 1883 hours if the current time is 8:00.
(b) What day of the week is it 1129 days after a Wednesday?
(c) What month is it 1889 months after October?
Solution
a)On a 12-hour clock, what time will a clock show in 1883 hours if the current time is 8:00.
1883 mod 12 = 11
so if current time is 8:00 then 11 hours plus 8 is 7:00
b)
What day of the week is it 1129 days after a Wednesday?
1129 mod 7 =2
hene the day wil be 2days plus wednesday = friday
c)
What month is it 1889 months after October?
1889 mod 12 =1
hence the month is 1 month plus october ,
hence it is november
