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").

Solved

Posted on 2004-10-17

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]

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]

6 Comments

Comment Utility

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").

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").

Comment Utility

one has certain operations such as

addition, multiplication, exponentiation, differentiation

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.

addition, multiplication, exponentiation, differentiation

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.

Comment Utility

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.

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.

Comment Utility

You could explore the notion of "equivalence classes" as discussed in the preface to Roger Penrose's "The Road to Reality":

http://www.321books.co.uk/reviews/the-road-to-reality-by-roger-penrose.htm

http://www.321books.co.uk/

Comment Utility

Cool - thanks everyone.

points coming ....

points coming ....

Title | # Comments | Views | Activity |
---|---|---|---|

Roulette strategy probability question | 58 | 82 | |

Linear algebra | 3 | 52 | |

Two Dice Roll Probabilities | 3 | 45 | |

Energy conservation - Edward Leedskalnin | 20 | 70 |

Join the community of 500,000 technology professionals and ask your questions.

Connect with top rated Experts

**16** Experts available now in Live!