Discrete Math
8 Online
OpenStudy (lgbasallote):
if a = -11 and b = 3
then what is
a div b
and
a mod b
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (anonymous):
mod?
OpenStudy (lgbasallote):
yes mod
OpenStudy (bahrom7893):
modulus
OpenStudy (bahrom7893):
mod is 2
OpenStudy (bahrom7893):
idk what div is.
Join the QuestionCove community and study together with friends!
Sign Up
Parth (parthkohli):
By div, do you mean quotient?
OpenStudy (lgbasallote):
hmm
OpenStudy (lgbasallote):
...why are you asking me?
Parth (parthkohli):
Hmm... mod is 1.
OpenStudy (jiteshmeghwal9):
becoz i m not getting ur question :(
Join the QuestionCove community and study together with friends!
Sign Up
Parth (parthkohli):
\[\large \rm 3 \cdot (-4) + \underbrace{1}_{\large modulus} = -11\]
OpenStudy (lgbasallote):
and what does -11/3, -11|3| mean @jiteshmeghwal9 ?
OpenStudy (lgbasallote):
and why is @bahrom7893 wrong @ParthKohli ?
Parth (parthkohli):
Depends on your question...\[\large \rm a ~div~b=a\div b?\]
OpenStudy (lgbasallote):
yes
Join the QuestionCove community and study together with friends!
Sign Up
Parth (parthkohli):
@lgbasallote How is the modulus 2? Can you show so?
OpenStudy (lgbasallote):
again...why are you asking me?
Parth (parthkohli):
Then,\[\rm \large -11~div~3 ={-11 \over 3} = -3{2 \over 3}\]
OpenStudy (lgbasallote):
mmhmm
OpenStudy (bahrom7893):
Parth... i thought modulus was a remainder when a is divided by b. That's what it means in programming.
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (lgbasallote):
it is...
Parth (parthkohli):
Yes, that's what...
OpenStudy (jiteshmeghwal9):
\[\Huge{\frac{-11}{2}=a \div b}\] accrding to ur question .
but i'm not getting what do u mean by \(\Large{a\space mod\space b}\).
@lgbasallote
OpenStudy (bahrom7893):
oh it's -11.. shoot i got my mod wrong
OpenStudy (lgbasallote):
so then...?
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (bahrom7893):
A mod B is A%B, or the remainder when A is divided by B
OpenStudy (jiteshmeghwal9):
-11/3*
OpenStudy (lgbasallote):
mod is modulo @jiteshmeghwal9
Parth (parthkohli):
@jiteshmeghwal9 a mod b is the remainder when a is divided by b. Yep.
OpenStudy (jiteshmeghwal9):
ohh ok !
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (bahrom7893):
|dw:1350970551590:dw|