Question

Discrete Math Evaluate. a) 55 \mod 7 b) -101 \div 3.

Discrete math
ANSWERED
asked 2021-08-22
Discrete Math
Evaluate.
a) \(\displaystyle{55}\text{mod}{7}\) b) \(\displaystyle-{101}\div{3}\).

Expert Answers (1)

2021-08-23
Step 1
(a) \(\displaystyle{55}\text{mod}{7}\)
As \(\displaystyle{55}={7}\cdot{7}+{6}\)
So that
\(\displaystyle{55}\text{mod}{7}={6}\text{mod}{7}\)
Step 2
(b) \(\displaystyle-{101}\div{3}\)
As \(\displaystyle-{101}={\left(-{34}\right)}\cdot{3}+{1}\)
So that \(\displaystyle-{101}\div{3}=-{34}\)
8
 
Best answer

expert advice

Have a similar question?
We can deal with it in 3 hours
...