Solved

Simplify fractions , Mathematica

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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Question of probability 6 148
Percentage calculation 4 77
Math question 3 124
Math Question: What is the max distance of x? 5 98
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…
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…

734 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