Solved

Formula for Division

Posted on 2004-10-17
6
4,269 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
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!

 
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

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

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

Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! https://www.google.com/about/careers/students/guide-to-technical-development.html How to Know You are Making a Difference at EE In August, 2013, one …
Have you ever thought of installing a power system that generates solar electricity to power your house? Some may say yes, while others may tell me no. But have you noticed that people around you are now considering installing such systems in their …
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…
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

623 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