Solved

# Formula for Division

Posted on 2004-10-17
4,266 Views
Hello,

Is there a FORMULA to divide a number? :o\  lol
For example,  a / b   Is there a forumla to do that? (obviously, other than "a/b"). Don't ask why I want to know this  lol

Thanks
[r.D]
0
Question by:DrWarezz

LVL 7

Accepted Solution

sftweng earned 100 total points
ID: 12334829
Well, there could be (a * inverse(b)) where inverse(b) is b to the power -1. ;-)

There are certainly algorithms for division but it is generally regarded as a "primitive" operation.

One such algorithm would be to count successive subtractions of powers of b from a. (As is done in "long division").
0

LVL 27

Assisted Solution

aburr earned 100 total points
ID: 12336037
one has certain operations such as
These operations have their "inverses" such as
subtraction, division, logrithems, integration.
In some sense there are rules for the operations but the inverses are essentially trial and error. sftewng has given you the trial for division. It works.
0

LVL 84

Assisted Solution

ozo earned 100 total points
ID: 12336399
0

LVL 9

Assisted Solution

lombardp earned 100 total points
ID: 12336436
Given A and B with A>B

N=1;
D=0;

while (B>=1) {
while (A>B) {
A=A-B;
D=D+1;
N=N+1;
}
A=A*10;
D=D*10;
}

The result of division id D, while N is the position of the decimal point.
0

LVL 1

Assisted Solution

mal4mac earned 100 total points
ID: 12337271
You could explore the notion of "equivalence classes" as discussed in the preface to Roger Penrose's "The Road to Reality":

0

LVL 9

Author Comment

ID: 12338667
Cool - thanks everyone.
points coming ....
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction On a scale of 1 to 10, how would you rate our Product? Many of us have answered that question time and time again. But only a few of us have had the pleasure of receiving a stack of the filled out surveys and being asked to do somethi…
This is a research brief on the potential colonization of humans on Mars.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…