// Numbas version: exam_results_page_options {"name": "Decimals to fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "variable_groups": [{"variables": ["a", "b", "c", "d", "b_", "b_coprime", "d_coprime", "answer", "cround"], "name": "Part a"}, {"variables": ["f", "f2", "mygcd", "h", "j", "k", "f3", "f4", "f1000", "numerator", "g", "gcd1", "numerator_coprime", "g_coprime"], "name": "Part b"}], "name": "Decimals to fractions", "functions": {}, "rulesets": {}, "ungrouped_variables": [], "metadata": {"description": "

Identify well-known fractional equivalents of decimals. Convert obscure decimals and recurring decimals into fractions.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "advice": "

a)

\n

To convert a decimal into a fraction, firstly place the decimal over $1$ as a fraction, and then multiply both the numerator and denominator by $10$ for however many decimal places the decimal has. For example, if the decimal was $0.1$, you would multiply the fraction by $10$ as there is one decimal place. If the decimal was $0.01$, you would multiply it by $100$, as there are two decimal places.  

\n

i)

\n

$\\var{a}$

\n

\\[
\\frac{\\var{a}}{1}\\times\\frac{10}{10}=\\frac{\\var{10a}}{10}\\text{.}
\\]

\n

ii)

\n

$\\var{b}$

\n

\\[
\\frac{\\var{b}}{1}\\times\\frac{100}{100}=\\frac{\\var{100b}}{100}=\\simplify{{100b}/{100}}\\text{.}
\\]

\n

iii)

\n

\n

$\\var{d}$

\n

\\[
\\frac{\\var{d}}{1}\\times\\frac{10}{10}=\\frac{\\var{10d}}{10}=\\simplify{{10d}/{10}}\\text{.}
\\]

\n

iv)

\n

\n

$0.\\dot{\\var{c}}$

\n

To convert a recurring decimal to a fraction, the first step is to set up a simple equation where

\n

\\[
x=0.\\dot{\\var{c}}\\text{.}
\\]

\n

By multiplying both sides by $10$, we can gain another simple equation where

\n

\\[
10x=\\var{c}.\\dot{\\var{c}}\\text{.}
\\]

\n

By subtracting one equation from the other, we can find the fraction equivalent of the recurring decimal. 

\n

\\[
\\begin{align}
&&\\var{c}.\\dot{\\var{c}}&={10}x\\\\
-&&{0.\\dot{\\var{c}}}&=x\\\\
&&\\overline{\\qquad} & \\overline{\\qquad}\\\\
&&{\\var{c}}&=9x\\\\
\\\\
&&\\frac{\\var{c}}{9}&=x
\\end{align}
\\]

\n

$\\displaystyle\\frac{\\var{c}}{9}$ simplifies to $\\simplify{{{c}}/{9}}$ by dividing by $3$ and therefore, $0.\\dot{\\var{c}}=\\simplify{{{c}}/{9}}$ in its fractional form.}

\n

\n

b)

\n

$\\displaystyle\\var{f}$

\n

\\[
\\var{f}\\times\\frac{\\var{f1000}}{\\var{f1000}}=\\frac{\\var{f2}}{\\var{f1000}}\\text{.}
\\]

\n

From this, we can look to see if we can cancel down the fraction by finding the highest common divisor between the numerator and denominator. This is $\\var{mygcd}$.

\n

Therefore, it is not possible to simplify the answer any further and the final answer is

\n

Simplifying by this amount gives the final answer

\n

\\[\\frac{\\var{f3}}{\\var{f4}}.\\]

\n

c)

\n

$\\var{h}.\\dot{\\var{j}}\\dot{\\var{k}}.$

\n

To convert a recurring decimal to a fraction, the first step is to set up a simple equation where,

\n

$x=\\var{h}.\\dot{\\var{j}}\\dot{\\var{k}}.$

\n


By multiplying both sides by $100$ to isolate the recurring section on the left hand side of the decimal point, we can gain another simple equation

\n

$100x=\\var{h}\\var{j}\\var{k}.\\dot{\\var{j}}\\dot{\\var{k}}.$

\n

\n

Now that we have two equations in terms of $x$, we can subtract one from the other and solve to get a value of $x$.

\n

\\[
\\begin{align}
&&\\var{h}\\var{j}\\var{k}.\\dot{\\var{j}}\\dot{\\var{k}}&=100x\\\\
-&&\\var{h}.\\dot{\\var{j}}\\dot{\\var{k}}&=x\\\\
&&\\overline{\\qquad} & \\overline{\\qquad} 
\\\\
&&{{\\var{h}}\\var{j}\\var{k-h}}&=99x\\\\
\\\\
&&\\frac{\\var{numerator}}{\\var{g}}&=x\\text{.}\\\\
\\end{align}
\\]

\n

From this, we should look to see if it is possible to simplify by finding the greatest common divisor of the numerator and the denominator. The greatest common divisor is $\\var{gcd1 }.$

\n

Therefore, it is not possible to simplify and so

\n

Simplifying by this value gives the fraction $\\displaystyle\\simplify{{{numerator}}/{g}}$ and so  

\n

\\[
\\begin{align}
\\var{h}.\\dot{\\var{j}}\\dot{\\var{k}}=\\simplify{{{numerator}}/{g}}\\text{ in its fractional form.}\\\\
\\end{align}
\\]

", "statement": "

Fractions can be equivalently represented as decimals and vice versa. One form may be more useful in a context than another and it is useful to practise how to change between them.

\n

Have a go at these questions involving fractions and decimals, remembering to write your answer in its simplest form.  

", "preamble": {"css": "fraction {\n display: inline-block;\n vertical-align: middle;\n}\nfraction > numerator, fraction > denominator {\n float: left;\n width: 100%;\n text-align: center;\n line-height: 2.5em;\n}\nfraction > numerator {\n border-bottom: 1px solid;\n padding-bottom: 5px;\n}\nfraction > denominator {\n padding-top: 5px;\n}\nfraction input {\n line-height: 1em;\n}\n\nfraction .part {\n margin: 0;\n}\n\n.table-responsive, .fractiontable {\n display:inline-block;\n}\n.fractiontable {\n padding: 0; \n border: 0;\n}\n\n.fractiontable .tddenom \n{\n text-align: center;\n}\n\n.fractiontable .tdnum \n{\n border-bottom: 1px solid black; \n text-align: center;\n}\n\n\n.fractiontable tr {\n height: 3em;\n}\n", "js": ""}, "variables": {"answer": {"templateType": "anything", "description": "", "name": "answer", "group": "Part a", "definition": "round(10c-c)"}, "cround": {"templateType": "anything", "description": "", "name": "cround", "group": "Part a", "definition": "c/3"}, "g": {"templateType": "anything", "description": "", "name": "g", "group": "Part b", "definition": "99"}, "j": {"templateType": "anything", "description": "", "name": "j", "group": "Part b", "definition": "random(1..9)"}, "g_coprime": {"templateType": "anything", "description": "", "name": "g_coprime", "group": "Part b", "definition": "g/gcd1"}, "d": {"templateType": "anything", "description": "", "name": "d", "group": "Part a", "definition": "random(0.2,0.4,0.6,0.8)"}, "a": {"templateType": "anything", "description": "", "name": "a", "group": "Part a", "definition": "random(0.1,0.3,0.7,0.9)"}, "gcd1": {"templateType": "anything", "description": "", "name": "gcd1", "group": "Part b", "definition": "gcd(numerator,g)"}, "h": {"templateType": "anything", "description": "", "name": "h", "group": "Part b", "definition": "random(1..5)"}, "b": {"templateType": "anything", "description": "", "name": "b", "group": "Part a", "definition": "random(0.25,0.75)"}, "f4": {"templateType": "anything", "description": "", "name": "f4", "group": "Part b", "definition": "f1000/gcd(f2,f1000)"}, "d_coprime": {"templateType": "anything", "description": "", "name": "d_coprime", "group": "Part a", "definition": "10d/gcd(10d,10)"}, "f1000": {"templateType": "anything", "description": "", "name": "f1000", "group": "Part b", "definition": "1000"}, "numerator_coprime": {"templateType": "anything", "description": "", "name": "numerator_coprime", "group": "Part b", "definition": "numerator/gcd1"}, "c": {"templateType": "anything", "description": "", "name": "c", "group": "Part a", "definition": "random(3,6)"}, "k": {"templateType": "anything", "description": "", "name": "k", "group": "Part b", "definition": "random(h..9 except j except h)"}, "f2": {"templateType": "anything", "description": "", "name": "f2", "group": "Part b", "definition": "precround(f1000*f,0)"}, "f3": {"templateType": "anything", "description": "", "name": "f3", "group": "Part b", "definition": "f2/gcd(f2,f1000)"}, "numerator": {"templateType": "anything", "description": "", "name": "numerator", "group": "Part b", "definition": "h*100+j*10+k - h"}, "mygcd": {"templateType": "anything", "description": "", "name": "mygcd", "group": "Part b", "definition": "gcd(f2,f1000)"}, "b_": {"templateType": "anything", "description": "", "name": "b_", "group": "Part a", "definition": "gcd(100*b,100)"}, "f": {"templateType": "anything", "description": "", "name": "f", "group": "Part b", "definition": "random(0.1..0.8#0.002)"}, "b_coprime": {"templateType": "anything", "description": "", "name": "b_coprime", "group": "Part a", "definition": "100*b/b_"}}, "parts": [{"variableReplacementStrategy": "originalfirst", "prompt": "

Express these common decimals as their fraction equivalent.

\n

i)

\n

$\\var{a}=$  [[0]] [[1]]

\n

ii)

\n

$\\var{b}=$  [[2]] [[3]]

\n

iii)

\n

$\\var{d}=$  [[6]] [[7]]

\n

iv)

\n

$0.\\dot{\\var{c}}=$  [[4]] [[5]]

", "gaps": [{"variableReplacementStrategy": "originalfirst", "marks": "0.5", "correctAnswerStyle": "plain", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "a*10", "allowFractions": false, "minValue": "a*10", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0}, {"variableReplacementStrategy": "originalfirst", "marks": "0.5", "correctAnswerStyle": "plain", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "10", "allowFractions": false, "minValue": "10", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0}, {"variableReplacementStrategy": "originalfirst", "marks": "0.5", "correctAnswerStyle": "plain", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "b_coprime", "allowFractions": false, "minValue": "b_coprime", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0}, {"variableReplacementStrategy": "originalfirst", "marks": "0.5", "correctAnswerStyle": "plain", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "4", "allowFractions": false, "minValue": "4", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0}, {"variableReplacementStrategy": "originalfirst", "marks": "0.5", "correctAnswerStyle": "plain", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "cround", "allowFractions": false, "minValue": "cround", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0}, {"variableReplacementStrategy": "originalfirst", "marks": "0.5", "correctAnswerStyle": "plain", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "3", "allowFractions": false, "minValue": "3", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0}, {"variableReplacementStrategy": "originalfirst", "marks": "0.5", "correctAnswerStyle": "plain", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "d_coprime", "allowFractions": false, "minValue": "d_coprime", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0}, {"variableReplacementStrategy": "originalfirst", "marks": "0.5", "correctAnswerStyle": "plain", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "5", "allowFractions": false, "minValue": "5", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0}], "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "type": "gapfill", "marks": 0, "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "prompt": "

Convert this decimal to a fraction, giving your answer in its simplest form. 

\n

$\\displaystyle\\var{f} = $  [[0]] [[1]]

\n

", "gaps": [{"variableReplacementStrategy": "originalfirst", "marks": "2", "correctAnswerStyle": "plain", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "f3", "allowFractions": false, "minValue": "f3", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0}, {"variableReplacementStrategy": "originalfirst", "marks": "2", "correctAnswerStyle": "plain", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "f4", "allowFractions": false, "minValue": "f4", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0}], "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "type": "gapfill", "marks": 0, "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "prompt": "

Convert these decimals to a fraction, giving your answer in its simplest form. 

\n

ii)

\n

$\\var{h}.\\dot{\\var{j}}\\dot{\\var{k}} = $  [[0]] [[1]]

", "gaps": [{"variableReplacementStrategy": "originalfirst", "marks": 1, "correctAnswerStyle": "plain", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "numerator_coprime", "allowFractions": false, "minValue": "numerator_coprime", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0}, {"variableReplacementStrategy": "originalfirst", "marks": 1, "correctAnswerStyle": "plain", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "g_coprime", "allowFractions": false, "minValue": "g_coprime", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReducedPC": 0}], "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "type": "gapfill", "marks": 0, "scripts": {}}], "tags": ["convert decimals to fractions", "converting recurring decimals to fractions", "Decimals", "decimals", "fractions", "Fractions", "identify fractional equivalents of decimals", "recurring decimals", "taxonomy"], "variablesTest": {"maxRuns": 100, "condition": ""}, "contributors": [{"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}]}]}], "contributors": [{"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}]}