Solved

Simplify fractions , Mathematica

Posted on 2013-01-10
4
479 Views
Last Modified: 2013-01-10
Hello,

How can Simplify fraction  in Mathematica

for example this large number

31563960367552936108301021855171511091869192865677121/
157819801837764680385589599609375000000000000000000000

Open in new window

is
 0.2

Open in new window



but when i try in Mathematica

31563960367552936108301021855171511091869192865677121 / 
157819801837764680385589599609375000000000000000000000

Open in new window


i don't get 0.2 it shows just the same numbers :(


Thank you
0
Comment
Question by:kensy11
  • 3
4 Comments
 
LVL 32

Expert Comment

by:phoffric
ID: 38765503
I plugged your numbers in and got about 0.2:Decimal approximation showing 0.2 is the right answerThey show you the exact result as a fraction since to get an exact decimal representation would take too many places to show (or it may be a repeating decimal).
0
 
LVL 32

Expert Comment

by:phoffric
ID: 38765519
Your OP that says that the answer is 0.2 cannot be true since 0.2 is 1/5.
If you multiply the numerator by 5, then you should get exactly the denominator if the answer is 0.2. But that cannot be since 5*(...7121) ends in a 5. For 0.2 to be the answer, you would expect that the multiplication would end in many 0's.
0
 

Author Comment

by:kensy11
ID: 38765624
phoffric   How did you do it ?? did you use Mathematica program or on the web ?


im using Mathematica 8.0

And as it been shown in your image i get the second step , (the same numbers ) i don't know how to get the decimal approximation as in your image
0
 
LVL 32

Accepted Solution

by:
phoffric earned 500 total points
ID: 38765691
On the web:
http://www.wolframalpha.com/input/?i=31563960367552936108301021855171511091869192865677121+%2F+157819801837764680385589599609375000000000000000000000

This link Exact and Approximate Results shows how to get the results you want. This is for version 9, but I would not expect major changes in this area.
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

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…
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…
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…

777 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