A worker works 4 days, then takes a leave for 2 days. He starts working on Monday. On which day he starts to work when he returns from his 6th leave?
Hey girl :) got any idea?
it's related to modular arithmetic, but i don't have any ideas
Ok let me help you out
\(6\)th leave means \(6*(4+2) = 36\) days from the starting is it ?
So let me see you know modular Aritmetic?
I AM BAT MAN
BAT GIRL
i know mod of course but i dont understand this question
my interpretation is this : they gave u that starting day is monday, and they want you find out what day it would be after 36 days
i will divide some number with 7 and i will add the residual to monday but which number
yes 36 days
knowing modular arithmetic isn't enough you will need to assign days to numbers before using modular arithmetic
|dw:1444945450036:dw| The days of the week ^ so the worker work 4 days
How about ``` 0 : Monday 1 : Tuesday 2 : Wednesday 3 : Thursday 4 : Friday 5 : Saturday 6 : Sunday ```
|dw:1444945524550:dw| we mark it
Join our real-time social learning platform and learn together with your friends!