Solved

Simplify fractions , Mathematica

Posted on 2013-01-10
4
501 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
[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
  • 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

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

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…
Article by: Nicole
This is a research brief on the potential colonization of humans on Mars.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
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…

696 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