Formula for Division


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

Who is Participating?
sftwengConnect With a Mentor Commented:
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").
aburrConnect With a Mentor Commented:
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.
Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

lombardpConnect With a Mentor Commented:
Given A and B with A>B


while (B>=1) {
   while (A>B) {

The result of division id D, while N is the position of the decimal point.
mal4macConnect With a Mentor Commented:
You could explore the notion of "equivalence classes" as discussed in the preface to Roger Penrose's "The Road to Reality":
DrWarezzAuthor Commented:
Cool - thanks everyone.
points coming ....
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.