The time now is 09/04/08 - 00:47
Log in: Username: Password:
Search forums for:
  

Stupid Math Question

Post new topic   Reply to topic
Author Message
Aluaeia
RealPoor Master of Posts
RealPoor Master of Posts


Joined: 06 Jun 2003
Posts: 5670



PostPosted: 10/18/05 - 12:10    Post subject: Stupid Math Question Reply with quote

I forgot my high school math, anyone remember how to convert nonterminating repeating decimals into a fraction?

In particular, 0.72222222222...

I'm playing with cellular automata and the lambda threshold for a single dot seed in the system I'm using seems to be at that number, so I'm trying to figure out the math behind it.
Back to top
Owyyn
RealPoor Guru
RealPoor Guru


Joined: 11 Oct 2002
Posts: 2900



PostPosted: 10/18/05 - 12:19    Post subject: Reply with quote

13/18

http://www.mindspring.com/~alanh/fracs.html
Back to top
Devook
RealPoor Guru
RealPoor Guru


Joined: 31 Mar 2004
Posts: 2373
Location: Ypsilanti or Troy, MI



PostPosted: 10/18/05 - 13:44    Post subject: Reply with quote

Well... to create a repeating fraction of a particular number, you take that number over 99.
Like x/99 is .xxxxxxxxx~
.72222222 is .7 + .02222222222 so it is 7/10 + 2/99 * .1 which goes to 7/10 + 2/990. Figure that out, and simplify.

There's probably an easier way to do that, but that's just what can figure out from looking at it.
Back to top
Smin
Luke Warm
Luke Warm


Joined: 11 Oct 2002
Posts: 163



PostPosted: 10/18/05 - 18:00    Post subject: Reply with quote

Non-repeating decimals
These are also called terminating decimals because they don't go on forever.

Example 1: Convert 0.45 to a fraction.
Step 1: Let x = 0.45.
Step 2: Count how many numbers there are after the decimal point. In this case, there are 2.
Step 3: Multiply both sides by 100, because 100 has 2 zeroes. We get 100x = 45.
Step 4: Solve for x. In this case x = 45/100. Using Euler's Formula to reduce the fraction, we get x = 9/20.

Simple repeating decimals
You can tell if it is a simple repeating decimal number if the repeating part starts with the first number after the decimal point.


Example 2: Convert 4.372372372... to a fraction.
Step 1: Let x = 4.372372. Call this equation #1.
Step 2: Count how many numbers there are in the repeating part. In this example, the repeating part is 372. So there are 3 numbers in the repeating part.
Step 3: Multiply both sides by 1000, because 1000 has 3 zeroes. We get 1000x = 4372.372372... Call this equation #2.
Step 4: Subtract equation #1 from equation #2:
1000x=4372.372372
x= 4.372372
999x=4368.0

Solving for x, we get x = 4368/999. Using Euler's Formula to reduce the fraction, we get x = 1456/333.

Ugly repeating decimals


Example 3: Convert 2.173333... to a fraction.
Step 1: Let x = 2.173333. Call this equation #1.
Step 2: Count how many non-repeating numbers there are after the decimal point. In this case, there are 2.
Step 3: Multiply both sides by 100, because 100 has 2 zeroes. We get 100x = 217.3333... Call this equation #2.
Step 4: Now that we have equation #2 as a simple repeating decimal number, we can carry out the same strategy as in Example 2, starting with step 2:

1000x=2173.333
100x= 217.333
900x=1956.0

Solving for x, we get x = 1956/900.
Back to top
Aluaeia
RealPoor Master of Posts
RealPoor Master of Posts


Joined: 06 Jun 2003
Posts: 5670



PostPosted: 10/18/05 - 20:27    Post subject: Reply with quote

Owyyn wrote:
13/18

http://www.mindspring.com/~alanh/fracs.html


Awesome!
Back to top
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1

Related topics:
Healing question for Fallen Earth
question for game enthusiasts!
FFXI keyboard question for 360.
i got a question
Paine's Special Dress?? FFX2 Question..
Question from possible LOTRO gamer
Capture card question
ANOTHER (I'm bored at work) Poll-type question..
WoW Account Question...
computer question kind of
DVD Question
Age Oof Conan Solo Instances question
got a question about counter strike
Warhammer Online female character question
Random Linux Question
LOY question
EQ IM Question
Question about witch FPS has a better multiplayer
Neopets Neopia question
Heatsink connecting to processor n00b question...