Solved

Formula for Division

Posted on 2004-10-17
6
4,266 Views
Last Modified: 2012-08-13
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
Comment
Question by:DrWarezz
6 Comments
 
LVL 7

Accepted Solution

by:
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

by:aburr
aburr earned 100 total points
ID: 12336037
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.
0
 
LVL 84

Assisted Solution

by:ozo
ozo earned 100 total points
ID: 12336399
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 9

Assisted Solution

by:lombardp
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

by:mal4mac
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":

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

Author Comment

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

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

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…
Article by: Nicole
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…

832 members asked questions and received personalized solutions in the past 7 days.

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

Join & Ask a Question