|Apr16-05, 04:17 AM||#1|
Anyone up for Balancing DIV?
DIV is an integer division in programming where you take only the whole number. EG 18 DIV 5 = 3. How do you make 18 subject of the formula? say you have this question:
a DIV b = c (a)
Also there is another function which is called MOD which returns the remainder of 2 numbers. EG 18 MOD 5 = 3. The previous question has to do with making *this* 18 subject of the formula (18 MOD 5 = 18-5[18 DIV 5]) so if you can answer this there's no need to answer the previous question.
a MOD b = c (a)
|Apr16-05, 09:34 AM||#2|
hmm, 3 mod 5=3, and 18 mod 5 =3. So what makes you think you can invert the formula? Do you simply mean
x mod y = z is equivalent to y divides x-z, or if you prefer, there is a k such that x+ky=z.
|Similar Threads for: Anyone up for Balancing DIV?|
|Balancing problem||Introductory Physics Homework||2|
|Balancing question||Biology, Chemistry & Other Homework||21|
|Balancing Forces||Introductory Physics Homework||3|
|Balancing Transformers||Electrical Engineering||2|
|Egg Balancing Day||General Discussion||5|