Solved

Formula for Division

Posted on 2004-10-17
6
4,264 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
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").
0
 
LVL 27

Assisted Solution

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

Assisted Solution

by:ozo
ozo earned 100 total points
Comment Utility
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 9

Assisted Solution

by:lombardp
lombardp earned 100 total points
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.
0
 
LVL 1

Assisted Solution

by:mal4mac
mal4mac earned 100 total points
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
0
 
LVL 9

Author Comment

by:DrWarezz
Comment Utility
Cool - thanks everyone.
points coming ....
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

A Guide to the PMT, FV, IPMT and PPMT Functions In MS Excel we have the PMT, FV, IPMT and PPMT functions, which do a fantastic job for interest rate calculations.  But what if you don't have Excel ? This article is for programmers looking to re…
How to Win a Jar of Candy Corn: A Scientific Approach! I love mathematics. If you love mathematics also, you may enjoy this tip on how to use math to win your own jar of candy corn and to impress your friends. As I said, I love math, but I gu…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now