Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Formula for Division

Posted on 2004-10-17
6
Medium Priority
?
4,273 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 400 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 400 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 85

Assisted Solution

by:ozo
ozo earned 400 total points
ID: 12336399
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 9

Assisted Solution

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Complex Numbers are funny things.  Many people have a basic understanding of them, some a more advanced.  The confusion usually arises when that pesky i (or j for Electrical Engineers) appears and understanding the meaning of a square root of a nega…
Article by: Nicole
This is a research brief on the potential colonization of humans on Mars.
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Suggested Courses

971 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