5. Recursion and Iteration
Sign In
5 14111
We want to write the repeating decimal 5.126 as a fraction. To do so, we will start by writing this number as a sum of decimals and as a sum of fractions.
| Number | 5.126 |
|---|---|
| Sum of Decimals | 5+0.126+0.000126+0.000000126+... |
| Sum of Fractions | 5/1+ 126/1000+126/1 000 000+126/1 000 000 000+... |
a_1= 126/1000, a_2= 126/1 000 000
a/b÷c/d=a/b*d/c
Split into factors
Cancel out common factors
Simplify quotient and product
r= 1/1000, a_1= 126/1000
Rewrite 1 as 1000/1000
Subtract fractions
a/b=a÷ b
a/b÷c/d=a/b*d/c
Multiply fractions
a/b=.a /9000./.b /9000.
a/b=a * 111/b * 111
Add fractions
Write fraction as a mixed number