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
Solved

Simplify fractions , Mathematica

Posted on 2013-01-10
4
481 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
We are taking giant steps in technological advances in the field of wireless telephony. At just 10 years since the advent of smartphones, it is crucial to examine the benefits and disadvantages that have been report to us.
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…

829 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