| Thread Closed |
Anyone up for Balancing DIV? |
Share Thread | Thread Tools |
| 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) 10x!
|
| PhysOrg.com |
science news on PhysOrg.com >> Hong Kong launches first electric taxis >> Morocco to harness the wind in energy hunt >> Galaxy's Ring of Fire |
| Apr16-05, 09:34 AM | #2 |
|
Recognitions:
|
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. |
| Thread Closed |
| Thread Tools | |
Similar Threads for: Anyone up for Balancing DIV?
|
||||
| Thread | Forum | Replies | ||
| 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 | ||