// Numbas version: finer_feedback_settings {"showQuestionGroupNames": true, "question_groups": [{"pickQuestions": "2", "pickingStrategy": "random-subset", "name": "Matematikk 1T test", "questions": [{"name": "Addition and subtraction of fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}], "type": "question", "statement": "
Evaluate the following additions and subtractions, giving each fraction in its simplest form.
", "variablesTest": {"condition": "", "maxRuns": 100}, "variables": {"d_coprime": {"description": "", "name": "d_coprime", "group": "Part a", "templateType": "anything", "definition": "d/gcd_cd"}, "hlcm2_j": {"description": "PART B
", "name": "hlcm2_j", "group": "Part b", "templateType": "anything", "definition": "h_coprime*lcm2_j"}, "lcm2": {"description": "PART B
", "name": "lcm2", "group": "Part b", "templateType": "anything", "definition": "lcm(g_coprime,j_coprime)"}, "denom": {"description": "PART A answer for the denominator of part a
", "name": "denom", "group": "Part a", "templateType": "anything", "definition": "lcm/gcd"}, "term3": {"description": "", "name": "term3", "group": "Part c", "templateType": "anything", "definition": "gcd3/o_coprime"}, "a": {"description": "PART A variable a - random number between 1 and 5.
", "name": "a", "group": "Part a", "templateType": "anything", "definition": "random(1..5)"}, "d": {"description": "PART A variable d - random number between 5 and 15.
", "name": "d", "group": "Part a", "templateType": "anything", "definition": "random(5..15)"}, "gcd_fg": {"description": "PART B gcd of first fraction num and denom
", "name": "gcd_fg", "group": "Part b", "templateType": "anything", "definition": "gcd(f,g)"}, "j": {"description": "PART B
", "name": "j", "group": "Part b", "templateType": "anything", "definition": "random(2..10 except h)"}, "gcd_lm": {"description": "", "name": "gcd_lm", "group": "Part c", "templateType": "anything", "definition": "gcd(l,m)"}, "c_coprimeb_coprime": {"description": "PART A variable c times variable b
", "name": "c_coprimeb_coprime", "group": "Part a", "templateType": "anything", "definition": "c_coprime*b_coprime"}, "l": {"description": "", "name": "l", "group": "Part c", "templateType": "anything", "definition": "random(1..3)"}, "gcd_ab": {"description": "PART A simplification of fractions in the question.
", "name": "gcd_ab", "group": "Part a", "templateType": "anything", "definition": "gcd(a,b)"}, "k_simp": {"description": "", "name": "k_simp", "group": "Part c", "templateType": "anything", "definition": "(100k)/(gcd_k100)"}, "o_coprime": {"description": "", "name": "o_coprime", "group": "Part c", "templateType": "anything", "definition": "o/gcd_no"}, "n_coprime": {"description": "", "name": "n_coprime", "group": "Part c", "templateType": "anything", "definition": "n/gcd_no"}, "gcd_k100": {"description": "", "name": "gcd_k100", "group": "Part c", "templateType": "anything", "definition": "gcd(100k,100)"}, "lcm_b": {"description": "PART A lcm of b and d, divided by b
", "name": "lcm_b", "group": "Part a", "templateType": "anything", "definition": "lcm/b_coprime"}, "num": {"description": "PART A answer for the numerator input
", "name": "num", "group": "Part a", "templateType": "anything", "definition": "alcmclcm/gcd"}, "b": {"description": "PART A variable b - random number between 5 and 10 and not the same value as d.
", "name": "b", "group": "Part a", "templateType": "anything", "definition": "random(5..10 except d)"}, "h": {"description": "PART B
", "name": "h", "group": "Part b", "templateType": "anything", "definition": "random(1..10)"}, "gcd_no": {"description": "", "name": "gcd_no", "group": "Part c", "templateType": "anything", "definition": "gcd(n,o)"}, "f": {"description": "PART B
", "name": "f", "group": "Part b", "templateType": "anything", "definition": "random(1..10)"}, "gcd_numgcd3": {"description": "", "name": "gcd_numgcd3", "group": "Part c", "templateType": "anything", "definition": "gcd(num1,gcd3)"}, "simp": {"description": "", "name": "simp", "group": "Part c", "templateType": "anything", "definition": "(100)/(gcd_k100)"}, "a_coprimed_coprime": {"description": "PART A variable a times variable d
", "name": "a_coprimed_coprime", "group": "Part a", "templateType": "anything", "definition": "a_coprime*d_coprime"}, "o": {"description": "", "name": "o", "group": "Part c", "templateType": "anything", "definition": "random(5..15 except m except n except 7 except 11 except 13)"}, "lcm_d": {"description": "PART A lcm of b and d, divided by d
", "name": "lcm_d", "group": "Part a", "templateType": "anything", "definition": "lcm/d_coprime"}, "gcd2": {"description": "PART B
", "name": "gcd2", "group": "Part b", "templateType": "anything", "definition": "gcd(num2unsim,lcm2)"}, "c": {"description": "PART A variable c - random number between 1 and 5.
", "name": "c", "group": "Part a", "templateType": "anything", "definition": "random(1..5)"}, "m": {"description": "", "name": "m", "group": "Part c", "templateType": "anything", "definition": "random(5..12 except 7 except 11)"}, "clcm_d": {"description": "PART A variable c times the lcm of b and d, divided by d
", "name": "clcm_d", "group": "Part a", "templateType": "anything", "definition": "c_coprime*lcm_d"}, "h_coprime": {"description": "PART B
", "name": "h_coprime", "group": "Part b", "templateType": "anything", "definition": "h/gcd_hj"}, "twolcm2": {"description": "PART B
", "name": "twolcm2", "group": "Part b", "templateType": "anything", "definition": "2*lcm2"}, "lcm2_j": {"description": "PART B
", "name": "lcm2_j", "group": "Part b", "templateType": "anything", "definition": "lcm2/j_coprime"}, "k": {"description": "", "name": "k", "group": "Part c", "templateType": "anything", "definition": "random(0.01..0.9#0.01)"}, "gcd": {"description": "PART A greatest common divisor of the variables alcmclcm and lcm
", "name": "gcd", "group": "Part a", "templateType": "anything", "definition": "gcd(alcmclcm,lcm)"}, "m_coprime": {"description": "", "name": "m_coprime", "group": "Part c", "templateType": "anything", "definition": "m/gcd(l,m)"}, "j_coprime": {"description": "PART B
", "name": "j_coprime", "group": "Part b", "templateType": "anything", "definition": "j/gcd_hj"}, "flcmhlcm": {"description": "PART B
", "name": "flcmhlcm", "group": "Part b", "templateType": "anything", "definition": "flcm2_g-hlcm2_j"}, "term1": {"description": "", "name": "term1", "group": "Part c", "templateType": "anything", "definition": "gcd3/simp"}, "alcm_b": {"description": "PART A variable a times the lcm of b and d, divided by b
", "name": "alcm_b", "group": "Part a", "templateType": "anything", "definition": "a_coprime*lcm_b"}, "a_coprime": {"description": "PART A
", "name": "a_coprime", "group": "Part a", "templateType": "anything", "definition": "a/gcd_ab"}, "b_coprime": {"description": "PART A
", "name": "b_coprime", "group": "Part a", "templateType": "anything", "definition": "b/gcd_ab"}, "g_coprime": {"description": "PART B g_coprime
", "name": "g_coprime", "group": "Part b", "templateType": "anything", "definition": "g/gcd_fg"}, "gcd_hj": {"description": "PART B
", "name": "gcd_hj", "group": "Part b", "templateType": "anything", "definition": "gcd(h,j)"}, "gcd1": {"description": "", "name": "gcd1", "group": "Part c", "templateType": "anything", "definition": "lcm(simp,m_coprime)"}, "g": {"description": "PART B
", "name": "g", "group": "Part b", "templateType": "anything", "definition": "random(2..10 except f except j)"}, "gcd_cd": {"description": "PART A
", "name": "gcd_cd", "group": "Part a", "templateType": "anything", "definition": "gcd(c,d)"}, "lcm": {"description": "PART A lowest common multiple of variable b_coprime and variable d_coprime.
", "name": "lcm", "group": "Part a", "templateType": "anything", "definition": "lcm(b_coprime,d_coprime)"}, "flcm2_g": {"description": "PART B
", "name": "flcm2_g", "group": "Part b", "templateType": "anything", "definition": "f_coprime*lcm2_g"}, "lcm2_g": {"description": "PART B
", "name": "lcm2_g", "group": "Part b", "templateType": "anything", "definition": "lcm2/g_coprime"}, "term2": {"description": "", "name": "term2", "group": "Part c", "templateType": "anything", "definition": "gcd3/m_coprime"}, "n": {"description": "", "name": "n", "group": "Part c", "templateType": "anything", "definition": "random(1..5)"}, "alcmclcm": {"description": "PART A
", "name": "alcmclcm", "group": "Part a", "templateType": "anything", "definition": "alcm_b+clcm_d"}, "gcd3": {"description": "", "name": "gcd3", "group": "Part c", "templateType": "anything", "definition": "lcm(gcd1,o_coprime)"}, "f_coprime": {"description": "PART B
", "name": "f_coprime", "group": "Part b", "templateType": "anything", "definition": "f/gcd_fg"}, "num1": {"description": "", "name": "num1", "group": "Part c", "templateType": "anything", "definition": "(k_simp*term1)+(l_coprime*term2)-(n_coprime*term3)"}, "c_coprime": {"description": "", "name": "c_coprime", "group": "Part a", "templateType": "anything", "definition": "c/gcd_cd"}, "num2unsim": {"description": "PART B
", "name": "num2unsim", "group": "Part b", "templateType": "anything", "definition": "flcmhlcm+twolcm2"}, "l_coprime": {"description": "", "name": "l_coprime", "group": "Part c", "templateType": "anything", "definition": "l/gcd_lm"}}, "functions": {}, "tags": ["adding and subtracting fractions", "adding fractions", "converting between decimals and fractions", "converting integers to fractions", "fractions", "Fractions", "integers", "manipulation of fractions", "subtracting fractions", "taxonomy"], "variable_groups": [{"name": "Part a", "variables": ["a", "a_coprime", "b", "b_coprime", "gcd_ab", "c", "c_coprime", "d", "d_coprime", "gcd_cd", "lcm", "a_coprimed_coprime", "c_coprimeb_coprime", "lcm_b", "lcm_d", "alcm_b", "clcm_d", "alcmclcm", "gcd", "num", "denom"]}, {"name": "Part b", "variables": ["f", "f_coprime", "g", "g_coprime", "gcd_fg", "h", "h_coprime", "j", "j_coprime", "gcd_hj", "lcm2", "lcm2_g", "flcm2_g", "lcm2_j", "hlcm2_j", "flcmhlcm", "twolcm2", "num2unsim", "gcd2"]}, {"name": "Part c", "variables": ["k", "gcd_k100", "k_simp", "simp", "l", "l_coprime", "m", "m_coprime", "gcd_lm", "n", "n_coprime", "o", "o_coprime", "gcd_no", "gcd1", "gcd3", "term1", "term2", "term3", "num1", "gcd_numgcd3"]}], "parts": [{"scripts": {}, "variableReplacements": [], "type": "gapfill", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "gaps": [{"correctAnswerFraction": false, "scripts": {}, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "maxValue": "num", "showFeedbackIcon": true, "minValue": "num", "correctAnswerStyle": "plain", "allowFractions": false, "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "marks": 1, "showCorrectAnswer": true}, {"correctAnswerFraction": false, "scripts": {}, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "maxValue": "denom", "showFeedbackIcon": true, "minValue": "denom", "correctAnswerStyle": "plain", "allowFractions": false, "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "marks": 1, "showCorrectAnswer": true}], "showFeedbackIcon": true, "prompt": "$\\displaystyle\\frac{\\var{a_coprime}}{\\var{b_coprime}}+\\frac{\\var{c_coprime}}{\\var{d_coprime}}=$
$\\displaystyle\\frac{\\var{f_coprime}}{\\var{g_coprime}}-\\frac{\\var{h_coprime}}{\\var{j_coprime}}+2=$
$\\displaystyle \\var{k}+\\frac{\\var{l}}{\\var{m}}-\\frac{\\var{n}}{\\var{o}}=$
Manipulate fractions in order to add and subtract them. The difficulty escalates through the inclusion of a whole integer and a decimal, which both need to be converted into a fraction before the addition/subtraction can take place.
"}, "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": ""}, "advice": "$\\displaystyle\\frac{\\var{a_coprime}}{\\var{b_coprime}}+\\frac{\\var{c_coprime}}{\\var{d_coprime}}$
\nTo add or subtract fractions, we need to have a common denominator on both fractions.
\nTo get a common denominator, we need to find the lowest common multiple of the two denominators.
\nThe lowest common multiple of $\\var{b_coprime}$ and $\\var{d_coprime}$ is $\\var{lcm}.$
\nThis will be the new denominator, and we need to multiply each fraction individually to ensure we get this denominator.
\nFor $\\displaystyle\\frac{\\var{a_coprime}}{\\var{b_coprime}}$, we need to multiply the fraction by $\\displaystyle\\frac{\\var{lcm_b}}{\\var{lcm_b}}$ to give $\\displaystyle\\frac{\\var{alcm_b}}{\\var{lcm}}.$
\nFor $\\displaystyle\\frac{\\var{c_coprime}}{\\var{d_coprime}}$, we need to multiply the fraction by $\\displaystyle\\frac{\\var{lcm_d}}{\\var{lcm_d}}$ to give $\\displaystyle\\frac{\\var{clcm_d}}{\\var{lcm}}.$
\nNow that we have each fraction in terms of a common denominator, we can now add the fractions together.
\n$\\displaystyle\\frac{\\var{alcm_b}}{\\var{lcm}}+\\frac{\\var{clcm_d}}{\\var{lcm}}=\\frac{(\\var{alcm_b}+\\var{clcm_d})}{\\var{lcm}}=\\frac{\\var{alcmclcm}}{\\var{lcm}}.$
\nFrom this, we can try to simplify the result down by finding the greatest common divisor of the numerator and denominator and dividing the whole fraction by this amount.
\nThe greatest common divisor of $\\var{alcmclcm}$ and $\\var{lcm}$ is $\\var{gcd}.$
\nSimplifying using this value gives a final answer of $\\displaystyle\\frac{\\var{num}}{\\var{denom}}.$
\nTherefore, the expression cannot be simplified further, and $\\displaystyle\\frac{\\var{num}}{\\var{denom}}$ is the final answer.
\n\n$\\displaystyle\\frac{\\var{f_coprime}}{\\var{g_coprime}}-\\frac{\\var{h_coprime}}{\\var{j_coprime}}+2.$
\n\nThe two fractions can be individually multiplied to achieve a common denominator of the lowest common multiple, $\\var{lcm2}.$
\n$\\displaystyle\\frac{\\var{f_coprime}}{\\var{g_coprime}}$ becomes $\\displaystyle\\frac{\\var{flcm2_g}}{\\var{lcm2}}$ and $\\displaystyle\\frac{\\var{h_coprime}}{\\var{j_coprime}}$ becomes $\\displaystyle\\frac{\\var{hlcm2_j}}{\\var{lcm2}}.$
\nWe can now subtract the second fraction from the first.
\n$\\displaystyle\\frac{\\var{flcm2_g}}{\\var{lcm2}}-\\frac{\\var{hlcm2_j}}{\\var{lcm2}}=\\frac{\\var{flcmhlcm}}{\\var{lcm2}}.$
\nFrom this, the question asks us to add $2$. We need to change the mixed number, $2$, into an improper fraction.
\n$\\displaystyle2=2\\bigg(\\frac{\\var{lcm2}}{\\var{lcm2}}\\bigg)=\\frac{\\var{twolcm2}}{\\var{lcm2}}.$
\nWe can now continue with the question.
\n$\\displaystyle\\frac{\\var{flcmhlcm}}{\\var{lcm2}}+\\frac{\\var{twolcm2}}{\\var{lcm2}}=\\frac{\\var{num2unsim}}{\\var{lcm2}}.$
\nWe can look to simplify by dividing by the greatest common divisor of $\\var{num2unsim}$ and $\\var{lcm2}$ which is $\\var{gcd2}.$
\nSimplifying by this value gives the final answer $\\displaystyle\\simplify{{num2unsim}/{lcm2}}.$
\nTherefore, no further simplification is possible, and $\\displaystyle\\simplify{{num2unsim}/{lcm2}}$ is the final answer.
\n\n$\\displaystyle\\var{k}+\\frac{\\var{l_coprime}}{\\var{m_coprime}}-\\frac{\\var{n_coprime}}{\\var{o_coprime}}.$
\nWe need to convert the decimal into a fraction and to do this, we need to multiply it by $10$ for every decimal place.
\n$\\displaystyle\\frac{\\var{k}}{1}\\times\\frac{100}{100}=\\frac{\\var{100k}}{100}.$
\nWe should look to simplify by dividing by the greatest common divisor which is $\\var{gcd_k100}.$
\nTherefore, it is not possible to simplify any further, and the fraction stays as
\nSimplifying by this value gives the fraction
\n\\[\\simplify{{{100k}}/{100}}\\text{.}\\]
\nThe original expression is now $\\displaystyle\\frac{\\var{k_simp}}{\\var{simp}}+\\frac{\\var{l_coprime}}{\\var{m_coprime}}-\\frac{\\var{n_coprime}}{\\var{o_coprime}}.$
\nWe can multiply each fraction individually to achieve the common denominator $\\var{gcd3}$.
\n\\[\\frac{\\var{k_simp}}{\\var{simp}}\\text{ becomes }\\frac{\\var{k_simp*term1}}{\\var{gcd3}}\\text{, }\\frac{\\var{l_coprime}}{\\var{m_coprime}}\\text{ becomes }\\frac{\\var{l_coprime*term2}}{\\var{gcd3}}\\text{ and }\\frac{\\var{n_coprime}}{\\var{o_coprime}}\\text{ becomes }\\frac{\\var{n_coprime*term3}}{\\var{gcd3}}\\text{.}\\]
\nWe can now complete the addition.
\n\\[\\frac{\\var{k_simp*term1}}{\\var{gcd3}}+\\frac{\\var{l_coprime*term2}}{\\var{gcd3}}-\\frac{\\var{n_coprime*term3}}{\\var{gcd3}}=\\frac{\\var{(k_simp*term1)+(l_coprime*term2)-(n_coprime*term3)}}{\\var{gcd3}}\\text{.}\\]
\nWe should look to simplify this fraction by dividing by the highest common divisor, $\\var{gcd_numgcd3}.$
\nSimplifying by this value gives the final answer
\nTherefore, it is not possible to simplify the fraction any further and the final answer is
\n\\[\\simplify{{num1}/{gcd3}}\\text{.}\\]
"}, {"name": "Fraction multiplication", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}], "advice": "To multiply $\\displaystyle\\frac{\\var{a_coprime}}{\\var{c_coprime}}\\times\\frac{\\var{b_coprime}}{\\var{d_coprime}}$, address the numerators and denominators separately.
\nMultiply the numerators across both fractions.
\n$\\var{a_coprime}\\times\\var{b_coprime}=\\var{ab}$,
\nand then multiply the denominators across both fractions.
\n$\\var{c_coprime}\\times\\var{d_coprime}=\\var{cd}$.
\nThe values of the multiplied numerators and denominators will be the numerator and denominator of the new fraction: $\\displaystyle\\frac{\\var{ab}}{\\var{cd}}$.
\nThis answer may need simplifying down, and to do this, find the greatest common divisor in both the numerator and denominator and divide by this number.
\nThe greatest common divisor of $\\var{ab}$ and $\\var{cd}$ is $\\var{gcd}$.
\nBy using $\\var{gcd}$ to cancel down the fraction, the final answer is $\\displaystyle\\simplify{{ab}/{cd}}$.
\n\nTo multiply $\\displaystyle\\simplify{{k_coprime}/{j_coprime}}\\times\\var{f}\\frac{\\var{g_coprime}}{\\var{h_coprime}}$, we first need to change the mixed number term into an improper fraction.
\nTo do this, we need to multiply $(\\var{f}\\times\\var{h_coprime}=\\var{fh})$ and add it to what was already on the numerator of the fraction, $\\var{g_coprime}$.
\n$\\displaystyle\\frac{(\\var{fh}+\\var{g_coprime})}{\\var{h_coprime}}= \\displaystyle\\frac{\\var{numif}}{\\var{h_coprime}}$.
\nNext, we multiply the numerators and denominators across both fractions separately, as done in part a).
\n$\\var{k_coprime}\\times\\var{numif} = \\var{num}$,
\n$\\var{j_coprime}\\times\\var{h_coprime}=\\var{denom}$.
\nThis gives the unsimplified version of the new fraction $\\displaystyle\\frac{\\var{num}}{\\var{denom}}$.
\nTo simplify, find the greatest common divisor in both the numerator and denominator and divide by this number.
\nThe greatest common divisor of $\\var{num}$ and $\\var{denom}$ is $\\var{gcdb}$.
\nBy using $\\var{gcdb}$ to cancel down the fraction, the final answer is $\\displaystyle\\simplify{{num}/{denom}}$.
\n\n\nTo square a fraction means to multiply the fraction by itself. To do this, multiply the numerators and denominators across individually.
\n$\\displaystyle\\bigg(\\frac{\\var{l_coprime}}{\\var{m_coprime}}\\bigg)^2=\\frac{\\var{l_coprime}}{\\var{m_coprime}}\\times\\frac{\\var{l_coprime}}{\\var{m_coprime}}=\\frac{\\var{l_coprime^2}}{\\var{m_coprime^2}}.$
\nFrom this, we should look if it is possible to simplify by finding the highest common divisor of $\\var{l_coprime^2}$ and $\\var{m_coprime^2}.$
\nThe greatest common divisor is $\\var{gcd_lcmc}$.
\nTherefore, it is not possible to simplify this further, and the final answer is
\nBy simplifying with this value, the final answer is
\n$\\displaystyle\\frac{\\var{l_coprime2}}{\\var{m_coprime2}}$.
\n\nHelen was on holiday for $28$ days and spent $\\displaystyle\\frac{\\var{aa}}{7}$ of her time in Spain.
\n$\\displaystyle\\frac{\\var{aa}}{7}\\times\\frac{28}{1}=\\frac{\\var{bb}}{7}=\\var{cc}$ days in Spain.
\nWhilst in Spain, she spends $\\displaystyle\\frac{\\var{dd}}{4}$ of her time in Barcelona.
\n$\\displaystyle\\frac{\\var{dd}}{4}\\times\\frac{\\var{cc}}{1}=\\frac{\\var{ddcc}}{4}=\\var{ee}$ days in Barcelona.
\n", "statement": "Evaluate the following multiplications, giving each fraction in its simplest form.
", "variables": {"k": {"name": "k", "group": "Part b", "templateType": "anything", "description": "Random number between 1 and 20
", "definition": "random(1..7 except j)"}, "bb": {"name": "bb", "group": "Part d", "templateType": "anything", "description": "", "definition": "28*aa"}, "cc": {"name": "cc", "group": "Part d", "templateType": "anything", "description": "", "definition": "bb/7"}, "g": {"name": "g", "group": "Part b", "templateType": "randrange", "description": "Random number between 1 and 20.
", "definition": "random(1..7#1)"}, "cd": {"name": "cd", "group": "Part a", "templateType": "anything", "description": "Variable c times variable d.
", "definition": "c_coprime*d_coprime"}, "a": {"name": "a", "group": "Part a", "templateType": "anything", "description": "Random number from 1 to 12.
", "definition": "random(2..12 except c)"}, "d": {"name": "d", "group": "Part a", "templateType": "randrange", "description": "Random number from 1 to 12.
", "definition": "random(2..12#1)"}, "l": {"name": "l", "group": "Part c", "templateType": "anything", "description": "", "definition": "random(1..12)"}, "numif": {"name": "numif", "group": "Part b", "templateType": "anything", "description": "Numerator of the improper fraction converted from a mixed number.
", "definition": "(f*h_coprime)+g_coprime"}, "gcd_gh": {"name": "gcd_gh", "group": "Part b", "templateType": "anything", "description": "", "definition": "gcd(g,h)"}, "fh": {"name": "fh", "group": "Part b", "templateType": "anything", "description": "Variable f times variable h
", "definition": "f*h_coprime"}, "g_coprime": {"name": "g_coprime", "group": "Part b", "templateType": "anything", "description": "", "definition": "g/gcd_gh"}, "j_coprime": {"name": "j_coprime", "group": "Part b", "templateType": "anything", "description": "", "definition": "j/gcd_kj"}, "gcd_kj": {"name": "gcd_kj", "group": "Part b", "templateType": "anything", "description": "", "definition": "gcd(k,j)"}, "f": {"name": "f", "group": "Part b", "templateType": "randrange", "description": "Random number between 1 and 4 - integer part of the mixed number.
", "definition": "random(1..4#1)"}, "c_coprime": {"name": "c_coprime", "group": "Part a", "templateType": "anything", "description": "", "definition": "c/gcd_ac"}, "gcd": {"name": "gcd", "group": "Part a", "templateType": "anything", "description": "", "definition": "gcd(ab,cd)"}, "b": {"name": "b", "group": "Part a", "templateType": "randrange", "description": "Random number from 1 to 12.
", "definition": "random(2..12#1)"}, "d_coprime": {"name": "d_coprime", "group": "Part a", "templateType": "anything", "description": "", "definition": "d/gcd_bd"}, "ddcc": {"name": "ddcc", "group": "Part d", "templateType": "anything", "description": "", "definition": "dd*cc"}, "gcdb": {"name": "gcdb", "group": "Part b", "templateType": "anything", "description": "", "definition": "gcd(num,denom)"}, "gcd_ac": {"name": "gcd_ac", "group": "Part a", "templateType": "anything", "description": "PART A
", "definition": "gcd(a,c)"}, "denom": {"name": "denom", "group": "Part b", "templateType": "anything", "description": "Denominator of new fraction.
", "definition": "j_coprime*(h_coprime/gcda)"}, "l_coprime": {"name": "l_coprime", "group": "Part c", "templateType": "anything", "description": "", "definition": "l/gcd_lm"}, "m": {"name": "m", "group": "Part c", "templateType": "anything", "description": "", "definition": "random(1..12 except l)"}, "a_coprime": {"name": "a_coprime", "group": "Part a", "templateType": "anything", "description": "", "definition": "a/gcd_ac"}, "h": {"name": "h", "group": "Part b", "templateType": "randrange", "description": "Random number between 1 and 20.
", "definition": "random(7..10#1)"}, "num": {"name": "num", "group": "Part b", "templateType": "anything", "description": "Numerator of gap 0
", "definition": "k_coprime*{numif/gcda}"}, "m_coprime": {"name": "m_coprime", "group": "Part c", "templateType": "anything", "description": "", "definition": "m/gcd_lm"}, "aa": {"name": "aa", "group": "Part d", "templateType": "anything", "description": "", "definition": "random(1..6)"}, "gcda": {"name": "gcda", "group": "Part b", "templateType": "anything", "description": "gcd of the numerator of the improper fraction
", "definition": "gcd({numif},{h_coprime})"}, "h_coprime": {"name": "h_coprime", "group": "Part b", "templateType": "anything", "description": "", "definition": "h/gcd_gh"}, "ee": {"name": "ee", "group": "Part d", "templateType": "anything", "description": "", "definition": "ddcc/4"}, "c": {"name": "c", "group": "Part a", "templateType": "anything", "description": "Random number from 1 to 12.
", "definition": "random(3,5,7,11)"}, "b_coprime": {"name": "b_coprime", "group": "Part a", "templateType": "anything", "description": "", "definition": "b/gcd_bd"}, "l_coprime2": {"name": "l_coprime2", "group": "Part c", "templateType": "anything", "description": "", "definition": "l_coprime^2/gcd_lcmc"}, "k_coprime": {"name": "k_coprime", "group": "Part b", "templateType": "anything", "description": "", "definition": "k/gcd_kj"}, "j": {"name": "j", "group": "Part b", "templateType": "anything", "description": "Random number between 1 and 20
", "definition": "Random(3,5,7,11,13,17)"}, "dd": {"name": "dd", "group": "Part d", "templateType": "anything", "description": "", "definition": "random(1..3)"}, "gcd_lcmc": {"name": "gcd_lcmc", "group": "Part c", "templateType": "anything", "description": "", "definition": "gcd((l_coprime)^2,(m_coprime)^2)"}, "m_coprime2": {"name": "m_coprime2", "group": "Part c", "templateType": "anything", "description": "", "definition": "m_coprime^2/gcd_lcmc"}, "gcd_lm": {"name": "gcd_lm", "group": "Part c", "templateType": "anything", "description": "", "definition": "gcd(l,m)"}, "ab": {"name": "ab", "group": "Part a", "templateType": "anything", "description": "Variable a times variable b
", "definition": "a_coprime*b_coprime"}, "gcd_bd": {"name": "gcd_bd", "group": "Part a", "templateType": "anything", "description": "", "definition": "gcd(b,d)"}, "gcd2": {"name": "gcd2", "group": "Part b", "templateType": "anything", "description": "", "definition": "gcd(num,denom)"}}, "tags": ["improper fractions", "mixed numbers", "multiplication of fractions", "multiplying fractions", "squared fraction", "taxonomy"], "ungrouped_variables": [], "functions": {}, "preamble": {"js": "", "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"}, "type": "question", "variable_groups": [{"variables": ["a", "b", "c", "d", "a_coprime", "b_coprime", "c_coprime", "d_coprime", "gcd_ac", "gcd_bd", "ab", "cd", "gcd"], "name": "Part a"}, {"variables": ["f", "g", "g_coprime", "h", "h_coprime", "gcd_gh", "k", "k_coprime", "j", "j_coprime", "gcd_kj", "fh", "numif", "num", "denom", "gcda", "gcdb", "gcd2"], "name": "Part b"}, {"variables": ["aa", "bb", "cc", "dd", "ddcc", "ee"], "name": "Part d"}, {"variables": ["l", "m", "gcd_lm", "l_coprime", "m_coprime", "gcd_lcmc", "l_coprime2", "m_coprime2"], "name": "Part c"}], "rulesets": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "metadata": {"description": "Several problems involving the multiplication of fractions, with increasingly difficult examples, including a mixed fraction and a squared fraction. The final part is a word problem.
", "licence": "Creative Commons Attribution 4.0 International"}, "parts": [{"scripts": {}, "showCorrectAnswer": true, "gaps": [{"notationStyles": ["plain", "en", "si-en"], "mustBeReduced": false, "variableReplacements": [], "mustBeReducedPC": 0, "minValue": "{ab}/{gcd}", "correctAnswerFraction": false, "allowFractions": false, "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "scripts": {}, "maxValue": "{ab}/{gcd}", "showCorrectAnswer": true, "type": "numberentry", "marks": 1, "showFeedbackIcon": true}, {"notationStyles": ["plain", "en", "si-en"], "mustBeReduced": false, "variableReplacements": [], "mustBeReducedPC": 0, "minValue": "{cd}/{gcd}", "correctAnswerFraction": false, "allowFractions": false, "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "scripts": {}, "maxValue": "{cd}/{gcd}", "showCorrectAnswer": true, "type": "numberentry", "marks": 1, "showFeedbackIcon": true}], "type": "gapfill", "prompt": "$\\displaystyle\\frac{\\var{a_coprime}}{\\var{c_coprime}}\\times\\frac{\\var{b_coprime}}{\\var{d_coprime}}$ =
$\\displaystyle\\simplify{{k}/{j}}\\times\\var{f}\\frac{\\var{g}}{\\var{h}}$ =
$\\displaystyle\\bigg(\\frac{\\var{l_coprime}}{\\var{m_coprime}}\\bigg)^2= $
Helen went on holiday in Europe. She spent $\\displaystyle\\frac{\\var{aa}}{7}$ of her time on holiday in Spain. Whilst in Spain, she spent $\\displaystyle\\frac{\\var{dd}}{4}$ of her time in Barcelona.
\nIf her holiday lasted for $28$ days, how many days was she in Barcelona?
\nHelen was in Barcelona for [[0]] days.
", "marks": 0, "variableReplacements": [], "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst"}]}, {"name": "Division of fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}], "metadata": {"description": "Several problems involving dividing fractions, with increasingly difficult examples, including mixed numbers and complex fractions.
", "licence": "Creative Commons Attribution 4.0 International"}, "rulesets": {}, "type": "question", "ungrouped_variables": [], "advice": "When faced with dividing fractions, it much easier to switch one of the fractions around and multiply them together instead of divide them.
\n\\[ \\left( \\frac{\\var{f_coprime}}{\\var{g_coprime}}\\div\\frac{\\var{h_coprime}}{\\var{j_coprime}} \\right) \\equiv \\left( \\frac{\\var{f_coprime}}{\\var{g_coprime}}\\times\\frac{\\var{j_coprime}}{\\var{h_coprime}} \\right) = \\frac{\\var{fj}}{\\var{gh}} \\]
\nThen, simplify by finding the highest common divisor in the numerator and denominator which in this case is $\\var{gcd1}$.
\nThis gives a final answer of $\\displaystyle\\simplify{{fj}/{gh}}$.
\n\n\\[ \\frac{\\var{f1_coprime}}{\\var{g1_coprime}}\\div\\frac{\\var{h1_coprime}}{\\var{j1_coprime}} \\equiv \\left( \\frac{\\var{f1_coprime}}{\\var{g1_coprime}}\\times\\frac{\\var{j1_coprime}}{\\var{h1_coprime}} \\right)=\\frac{\\var{f1j1}}{\\var{g1h1}} \\]
\nThen, simplify by finding the highest common divisor in the numerator and denominator which in this case is $\\var{gcd2}$.
\nThis gives a final answer of $\\displaystyle\\simplify{{f1j1}/{g1h1}}$.
\n\n\\[ {\\var{f3}\\frac{\\var{g3_coprime}}{\\var{h3_coprime}}}\\div{\\var{f4}\\frac{\\var{g4_coprime}}{\\var{h4_coprime}}} \\]
\nThe first thing to do is to change the mixed numbers into improper fractions.
\nAn improper fraction is a fraction where the numerator is greater than the denominator. To change a mixed fraction to an improper fraction, multiply the integer part of the mixed number by the denominator, and add it to the existing numerator to make the new numerator of the improper fraction. The denominator will stay the same.
\n\\[ {\\var{f3}\\frac{\\var{g3_coprime}}{\\var{h3_coprime}}}\\equiv\\frac{(\\var{f3}\\times\\var{h3_coprime})+\\var{g3_coprime}}{\\var{h3_coprime}}=\\frac{\\var{f3h3}+\\var{g3_coprime}}{\\var{h3_coprime}}=\\frac{\\var{f3h3+g3_coprime}}{\\var{h3_coprime}} \\]
\n\\[ {\\var{f4}\\frac{\\var{g4_coprime}}{\\var{h4_coprime}}}\\equiv\\frac{(\\var{f4}\\times\\var{h4_coprime})+\\var{g4_coprime}}{\\var{h4_coprime}}=\\frac{\\var{f4h4}+\\var{g4_coprime}}{\\var{h4_coprime}}=\\frac{\\var{f4h4+g4_coprime}}{\\var{h4_coprime}} \\]
\nWe now have our mixed numbers as improper fractions.
\n\\[ \\frac{\\var{f3h3+g3_coprime}}{\\var{h3_coprime}}\\div\\frac{\\var{f4h4+g4_coprime}}{\\var{h4_coprime}} \\]
\nNow, use the same method as in parts a) and b) to divide by switching around one fraction and changing the division symbol to multiplication.
\n\\[ \\frac{\\var{f3h3+g3_coprime}}{\\var{h3_coprime}}\\div\\frac{\\var{f4h4+g4_coprime}}{\\var{h4_coprime}}\\equiv\\frac{\\var{f3h3+g3_coprime}}{\\var{h3_coprime}}\\times\\frac{\\var{h4_coprime}}{\\var{f4h4+g4_coprime}}=\\frac{\\var{num}}{\\var{denom}} \\]
\nFinally, the last thing to do is to simplify your answer down by finding the highest common divisor in the numerator and denominator, which in this case is $\\var{gcd3}$.
\nBy doing this, you will get a final answer of
\n\\[ \\simplify{{num}/{denom}} \\]
\n\\[ \\frac{\\var{a}}{(\\simplify[all,!collectNumbers]{{b}-{c}/{d}})} \\]
\nConsider the denominator first, as following the rules of BODMAS, you should address brackets first.
\nYou need to get a common denominator for both terms on the denominator, like this:
\n\\[ \\var{b}\\times\\frac{\\var{d}}{\\var{d}} = \\frac{\\var{bd}}{\\var{d}} \\]
\nThis now allows you to complete the addition or subtraction as both terms have a common denominator.
\n\\[ {\\simplify[all,!collectNumbers]{{bd}/{d}-{c}/{d}}} = \\frac{\\var{bd_c}}{\\var{d}} \\]
\nThis means that the expression is now:
\n\\[ \\frac{\\var{a}}{\\frac{\\var{bd_c}}{\\var{d}}} \\]
\nDealing with this requires a bit of manipulation. You have to change the divisor of the denominator to be a mulitplier of the numerator. The denominator, ${\\var{bd_c}}$ was being divided by ${\\var{d}}$ but by flipping it around, the numerator, ${\\var{a}}$ will be mulitplied by ${\\var{d}}$. The value of the expression remains the same.
\n\\[ \\frac{\\var{a}}{\\frac{\\var{bd_c}}{\\var{d}}}\\equiv \\frac{(\\var{a})\\times(\\var{d})}{\\var{bd_c}}= \\frac{\\var{ad}}{\\var{bd_c}} \\]
\nFrom this, you can try to cancel the expression down by finding the highest common factor of the numerator and denominator, to give a final answer of
\n\\[ \\simplify{{ad}/{bd_c}} \\]
", "variable_groups": [{"name": "part d", "variables": ["a", "b", "c", "d", "bd", "ad", "gcd", "ad_gcd", "bcd_gcd", "bd_c"]}, {"name": "part a", "variables": ["f", "g", "f_coprime", "g_coprime", "h", "j", "h_coprime", "j_coprime", "fj", "gh", "gcd1"]}, {"name": "part b", "variables": ["f1", "g1", "f1_coprime", "g1_coprime", "h1", "j1", "h1_coprime", "j1_coprime", "f1j1", "g1h1", "gcd2"]}, {"name": "part c", "variables": ["f3", "g3", "h3", "g3_coprime", "h3_coprime", "f4", "g4", "h4", "g4_coprime", "h4_coprime", "f3h3", "f4h4", "num", "denom", "gcd3"]}], "statement": "Evaluate the following sums involving division of fractions. Simplify your answers where possible.
", "parts": [{"scripts": {}, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "showCorrectAnswer": true, "prompt": "$\\displaystyle\\frac{\\var{f_coprime}}{\\var{g_coprime}}\\div\\frac{\\var{h_coprime}}{\\var{j_coprime}}=$
$\\displaystyle\\frac{\\var{f1_coprime}}{\\var{g1_coprime}}\\div\\frac{\\var{h1_coprime}}{\\var{j1_coprime}}=$
$\\displaystyle{\\var{f3}\\frac{\\var{g3_coprime}}{\\var{h3_coprime}}}\\div{\\var{f4}\\frac{\\var{g4_coprime}}{\\var{h4_coprime}}}=$
$\\displaystyle\\frac{\\var{a}}{(\\simplify[all,!collectNumbers]{{b}-{c}/{d}})} =$
variable f4 times h4.
\nUsed in part c)
", "group": "part c", "definition": "f4*h4_coprime", "name": "f4h4", "templateType": "anything"}, "g4_coprime": {"description": "PART C
", "group": "part c", "definition": "g4/gcd(g4,h4)", "name": "g4_coprime", "templateType": "anything"}, "h4": {"description": "Random number but not the same number as variable g4.
\nUsed in part c.
", "group": "part c", "definition": "random(5..8 except g4)", "name": "h4", "templateType": "anything"}, "g": {"description": "Random number between 2 and 10 and not the same number as variable f.
\nUsed in part a).
", "group": "part a", "definition": "random(f..12 except f) ", "name": "g", "templateType": "anything"}, "a": {"description": "Random number between 1 and 20
\nUsed by part d)
", "group": "part d", "definition": "random(1..10#1)", "name": "a", "templateType": "randrange"}, "bd_c": {"description": "Unsimplified denominator for part d).
", "group": "part d", "definition": "(bd-c)", "name": "bd_c", "templateType": "anything"}, "h3_coprime": {"description": "PART C
", "group": "part c", "definition": "h3/gcd(g3,h3)", "name": "h3_coprime", "templateType": "anything"}, "f_coprime": {"description": "PART A
", "group": "part a", "definition": "f/gcd(f,g)", "name": "f_coprime", "templateType": "anything"}, "g_coprime": {"description": "PART A
", "group": "part a", "definition": "g/gcd(f,g)", "name": "g_coprime", "templateType": "anything"}, "j1_coprime": {"description": "PART B
", "group": "part b", "definition": "j1/gcd(h1,j1)", "name": "j1_coprime", "templateType": "anything"}, "gcd2": {"description": "greatest common divisor of variables f1j1 and g1h1.
\nUsed in part b).
", "group": "part b", "definition": "gcd(f1j1,g1h1)", "name": "gcd2", "templateType": "anything"}, "c": {"description": "Random prime number between -10 and 10.
\nUsed by part d).
", "group": "part d", "definition": "random([-7,-5,-3,-2,-1,1,2,3,5,7] except d)", "name": "c", "templateType": "anything"}, "ad_gcd": {"description": "Correct answer for the numerator in part d)
", "group": "part d", "definition": "ad/gcd", "name": "ad_gcd", "templateType": "anything"}, "g1_coprime": {"description": "PART B
", "group": "part b", "definition": "g1/gcd(f1,g1)", "name": "g1_coprime", "templateType": "anything"}, "h1_coprime": {"description": "PART B
", "group": "part b", "definition": "h1/gcd(h1,j1)", "name": "h1_coprime", "templateType": "anything"}, "gcd3": {"description": "greatest common denominator for part c.
", "group": "part c", "definition": "gcd(num,denom)", "name": "gcd3", "templateType": "anything"}, "bd": {"description": "Variable b times variable d.
\nUsed in part d)
", "group": "part d", "definition": "b*d", "name": "bd", "templateType": "anything"}, "j1": {"description": "Random number between 2 and 20 and not the same value as variable h1.
\nUsed in part b).
", "group": "part b", "definition": "random(h1..11 except h1)", "name": "j1", "templateType": "anything"}, "g1h1": {"description": "variable g1 times h1.
\nUsed in part b).
", "group": "part b", "definition": "g1_coprime*h1_coprime", "name": "g1h1", "templateType": "anything"}, "f": {"description": "Random number between 2 and 10.
\nUsed in part a).
", "group": "part a", "definition": "random(2..10)", "name": "f", "templateType": "anything"}, "b": {"description": "Random number between 1 and 10.
\nUsed by part d)
", "group": "part d", "definition": "random(1..10#1)", "name": "b", "templateType": "randrange"}, "bcd_gcd": {"description": "Correct answer for the denominator in part d).
", "group": "part d", "definition": "{bd_c}/gcd", "name": "bcd_gcd", "templateType": "anything"}, "f4": {"description": "Random number.
\nUsed in part c).
", "group": "part c", "definition": "random(1..3)", "name": "f4", "templateType": "anything"}, "f1": {"description": "Random number between 2 and 20.
\nUsed in part b)
", "group": "part b", "definition": "random(2..10)", "name": "f1", "templateType": "anything"}, "d": {"description": "Random prime number between 10 and 20.
\nUsed in part d).
", "group": "part d", "definition": "random(7,11,13,17)", "name": "d", "templateType": "anything"}, "g3": {"description": "Random number.
\nUsed in part c).
", "group": "part c", "definition": "random(1..3)", "name": "g3", "templateType": "anything"}, "f3h3": {"description": "variable f3 times h3.
", "group": "part c", "definition": "f3*h3_coprime", "name": "f3h3", "templateType": "anything"}, "h": {"description": "Random number from 2 to 10.
\nUsed in part a).
", "group": "part a", "definition": "random(2..10)", "name": "h", "templateType": "anything"}, "gh": {"description": "variable g times variable h.
\nUsed in part a).
", "group": "part a", "definition": "g_coprime*h_coprime", "name": "gh", "templateType": "anything"}, "j_coprime": {"description": "PART A
", "group": "part a", "definition": "j/gcd(h,j)", "name": "j_coprime", "templateType": "anything"}, "denom": {"description": "Unsimplified denominator of part c.
", "group": "part c", "definition": "h3_coprime*(f4h4+g4_coprime)", "name": "denom", "templateType": "anything"}, "j": {"description": "Random number between 2 and 10 and not the same value as h.
\nUsed in part a).
", "group": "part a", "definition": "random(h..12 except h)", "name": "j", "templateType": "anything"}, "f1j1": {"description": "variable f1 times j1.
\nUsed in part b).
", "group": "part b", "definition": "f1_coprime*j1_coprime", "name": "f1j1", "templateType": "anything"}, "h4_coprime": {"description": "PART C
", "group": "part c", "definition": "h4/gcd(g4,h4)", "name": "h4_coprime", "templateType": "anything"}, "g1": {"description": "Random number between 2 and 30 and not the same value as variable f1.
\nUsed in part b).
", "group": "part b", "definition": "random(f1..11 except f1) ", "name": "g1", "templateType": "anything"}, "fj": {"description": "variable f times variable j.
\nUsed in part a).
", "group": "part a", "definition": "f_coprime*j_coprime", "name": "fj", "templateType": "anything"}, "gcd": {"description": "Greatest common divisor of ad and bd_c.
\nUsed in part d).
", "group": "part d", "definition": "gcd(ad,bd_c)", "name": "gcd", "templateType": "anything"}, "f3": {"description": "Random number between 2 and 6.
\nUsed in part c).
", "group": "part c", "definition": "random(1..3#1)", "name": "f3", "templateType": "randrange"}, "f1_coprime": {"description": "PART B
", "group": "part b", "definition": "f1/gcd(f1,g1)", "name": "f1_coprime", "templateType": "anything"}, "h3": {"description": "Random number and not the same value as variable g3.
\nUsed in part c).
", "group": "part c", "definition": "random(5..8)", "name": "h3", "templateType": "anything"}, "gcd1": {"description": "greatest common divisor of variable fj and gh.
\nUsed in part a).
", "group": "part a", "definition": "gcd(fj,gh)", "name": "gcd1", "templateType": "anything"}, "g3_coprime": {"description": "PART C
", "group": "part c", "definition": "g3/gcd(g3,h3)", "name": "g3_coprime", "templateType": "anything"}, "h_coprime": {"description": "PART A
", "group": "part a", "definition": "h/gcd(h,j)", "name": "h_coprime", "templateType": "anything"}, "g4": {"description": "Random number.
\nUsed in part c).
", "group": "part c", "definition": "random(1..5)", "name": "g4", "templateType": "anything"}, "h1": {"description": "Random number between 2 and 20.
\nUsed in part b).
", "group": "part b", "definition": "random(2..10)", "name": "h1", "templateType": "anything"}, "num": {"description": "numerator of the improper fraction in part c. Unsimplified.
", "group": "part c", "definition": "h4_coprime*(f3h3+g3_coprime)", "name": "num", "templateType": "anything"}, "ad": {"description": "Variable a times variable d.
\nUsed in part d).
", "group": "part d", "definition": "a*d", "name": "ad", "templateType": "anything"}}, "variablesTest": {"maxRuns": 100, "condition": ""}}, {"name": "Select the fraction not equivalent to the others - small denominators", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "advice": "To find the odd fraction out, reduce each fraction to lowest terms.
\n\\begin{align}
\\frac{\\var{mone}}{\\var{none}} &= \\frac{\\var{m_coprime}}{\\var{n_coprime}}\\times\\frac{\\var{one}}{\\var{one}} \\\\[0.5em]
\\frac{\\var{mtwo}}{\\var{ntwo}} &= \\frac{\\var{m_coprime}}{\\var{n_coprime}}\\times\\frac{\\var{two}}{\\var{two}} \\\\[0.5em]
\\frac{\\var{mthree}}{\\var{nthree}} &= \\frac{\\var{m_coprime}}{\\var{n_coprime}}\\times\\frac{\\var{three}}{\\var{three}} \\\\[0.5em]
\\frac{\\var{mfour}}{\\var{nfour}} &= \\frac{\\var{m_coprime}}{\\var{n_coprime}}\\times\\frac{\\var{four}}{\\var{four}} \\\\[0.5em]
\\frac{\\var{mfive}}{\\var{nfive}} &= \\frac{\\var{mfive/gcd(mfive,nfive)}}{\\var{nfive/gcd(mfive,nfive)}} \\times \\frac{\\var{gcd(mfive,nfive)}}{\\var{gcd(mfive,nfive)}}
\\end{align}
All but one of these fractions are equivalent to $\\displaystyle\\frac{\\var{m_coprime}}{\\var{n_coprime}}$.
\nThe odd fraction out is $\\displaystyle\\frac{\\var{mfive}}{\\var{nfive}}$.
", "statement": "", "variables": {"five": {"name": "five", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(1..7 except one except two except three except four)"}, "m_coprime": {"name": "m_coprime", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "m/gcd_mn"}, "mthree": {"name": "mthree", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "m_coprime*three"}, "ntwo": {"name": "ntwo", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "n_coprime*two"}, "mfive": {"name": "mfive", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "m_coprime*five+random(-4..4 except 0)"}, "mtwo": {"name": "mtwo", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "m_coprime*two"}, "four": {"name": "four", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(5..20 except one except two except three)"}, "none": {"name": "none", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "n_coprime*one"}, "nthree": {"name": "nthree", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "n_coprime*three"}, "two": {"name": "two", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(2..15 except one)"}, "m": {"name": "m", "group": "Ungrouped variables", "templateType": "anything", "description": "Random number between 1 and 10
", "definition": "random(1..7)"}, "nfive": {"name": "nfive", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "n_coprime*five"}, "n": {"name": "n", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(7..15 except m)"}, "one": {"name": "one", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(2..10)"}, "gcd_mn": {"name": "gcd_mn", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "gcd(m,n)"}, "n_coprime": {"name": "n_coprime", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "n/gcd_mn"}, "nfour": {"name": "nfour", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "n_coprime*four"}, "mone": {"name": "mone", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "m_coprime*one"}, "three": {"name": "three", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(1..6 except one except two)"}, "mfour": {"name": "mfour", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "m_coprime*four"}}, "tags": ["equivalent fractions", "small denominators", "taxonomy"], "ungrouped_variables": ["m", "n", "gcd_mn", "m_coprime", "n_coprime", "one", "mone", "none", "two", "mtwo", "ntwo", "three", "mthree", "nthree", "four", "mfour", "nfour", "five", "mfive", "nfive"], "functions": {}, "preamble": {"js": "", "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"}, "type": "question", "variable_groups": [], "rulesets": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "metadata": {"description": "Given five fractions, identify the one which is not equivalent to the others by reducing to lowest terms.
", "licence": "Creative Commons Attribution 4.0 International"}, "parts": [{"variableReplacements": [], "maxMarks": 0, "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "matrix": [0, 0, "0", 0, "1"], "scripts": {}, "displayColumns": 0, "showCorrectAnswer": true, "distractors": ["", "", "", "", ""], "shuffleChoices": true, "marks": 0, "prompt": "From the options below, select the fraction which is not equivalent to the others.
", "choices": ["$\\displaystyle\\frac{\\var{mone}}{\\var{none}}$
", "$\\displaystyle\\frac{\\var{mtwo}}{\\var{ntwo}}$
", "$\\displaystyle\\frac{\\var{mthree}}{\\var{nthree}}$
", "$\\displaystyle\\frac{\\var{mfour}}{\\var{nfour}}$
", "$\\displaystyle\\frac{\\var{mfive}}{\\var{nfive}}$
"], "type": "1_n_2", "showFeedbackIcon": true, "minMarks": 0}]}, {"name": "Select the fraction not equivalent to the others - large denominators", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "advice": "To find the odd fraction out, reduce each fraction to lowest terms.
\n\\begin{align}
\\frac{\\var{osix}}{\\var{psix}}=\\frac{\\var{o_coprime}}{\\var{p_coprime}}\\times\\frac{\\var{six}}{\\var{six}} \\\\[0.5em]
\\frac{\\var{oseven}}{\\var{pseven}}=\\frac{\\var{o_coprime}}{\\var{p_coprime}}\\times\\frac{\\var{seven}}{\\var{seven}} \\\\[0.5em]
\\frac{\\var{oeight}}{\\var{peight}}=\\displaystyle\\frac{\\var{o_coprime}}{\\var{p_coprime}}\\times\\frac{\\var{eight}}{\\var{eight}} \\\\[0.5em]
\\frac{\\var{onine}}{\\var{pnine}}=\\frac{\\var{o_coprime}}{\\var{p_coprime}}\\times\\frac{\\var{nine}}{\\var{nine}} \\\\[0.5em]
\\frac{\\var{oten}}{\\var{pten}} = \\frac{\\var{oten/gcd(oten,pten)}}{\\var{pten/gcd(oten,pten)}} \\times \\frac{\\var{gcd(oten,pten)}}{\\var{gcd(oten,pten)}}
\\end{align}
The odd fraction out is $\\displaystyle\\frac{\\var{oten}}{\\var{pten}}$.
\n", "statement": "", "variables": {"five": {"name": "five", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(1..7 except one except two except three except four)"}, "o": {"name": "o", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(1..7 except p except m)"}, "six": {"name": "six", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(1..10 except one except two except three except four except five)"}, "oten": {"name": "oten", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "o_coprime*ten+random(-6..6 except 0)"}, "pten": {"name": "pten", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "p_coprime*ten+random(-2..2 except 0)"}, "m": {"name": "m", "group": "Ungrouped variables", "templateType": "anything", "description": "Random number between 1 and 10
", "definition": "random(1..7)"}, "pseven": {"name": "pseven", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "p_coprime*seven"}, "eight": {"name": "eight", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(6..15 except one except two except three except four except five except six except seven)"}, "nine": {"name": "nine", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(4..12 except one except two except three except four except five except six except seven except eight)"}, "three": {"name": "three", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(1..6 except one except two)"}, "psix": {"name": "psix", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "p_coprime*six"}, "ten": {"name": "ten", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(1..10 except one except two except three except four except five except six except seven except eight except nine)"}, "four": {"name": "four", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(5..20 except one except two except three)"}, "two": {"name": "two", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(2..15 except one)"}, "peight": {"name": "peight", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "p_coprime*eight"}, "o_coprime": {"name": "o_coprime", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "o/gcd_op"}, "osix": {"name": "osix", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "o_coprime*six"}, "pnine": {"name": "pnine", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "p_coprime*nine"}, "seven": {"name": "seven", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(1..6 except one except two except three except four except five except six)"}, "n": {"name": "n", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(7..15 except m)"}, "onine": {"name": "onine", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "o_coprime*nine"}, "one": {"name": "one", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(2..10)"}, "p_coprime": {"name": "p_coprime", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "p/gcd_op"}, "gcd_op": {"name": "gcd_op", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "gcd(o,p)"}, "oeight": {"name": "oeight", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "o_coprime*eight"}, "oseven": {"name": "oseven", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "o_coprime*seven"}, "p": {"name": "p", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(7..15 except n)"}}, "tags": ["equivalent fractions", "fractions", "Fractions", "taxonomy"], "ungrouped_variables": ["m", "n", "one", "two", "three", "four", "five", "o", "p", "gcd_op", "o_coprime", "p_coprime", "six", "osix", "psix", "seven", "oseven", "pseven", "eight", "oeight", "peight", "nine", "onine", "pnine", "ten", "oten", "pten"], "functions": {}, "preamble": {"js": "", "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"}, "type": "question", "variable_groups": [], "rulesets": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "metadata": {"description": "Given five fractions, identify the odd fraction out. The denominators are mainly two or three digits long.
", "licence": "Creative Commons Attribution 4.0 International"}, "parts": [{"variableReplacements": [], "maxMarks": 0, "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "prompt": "From the options below, select the fraction which is not equivalent to the others.
", "matrix": [0, 0, 0, 0, "1"], "scripts": {}, "displayColumns": 0, "showCorrectAnswer": true, "distractors": ["", "", "", "", ""], "shuffleChoices": true, "marks": 0, "type": "1_n_2", "choices": ["$\\displaystyle\\frac{\\var{osix}}{\\var{psix}}$
", "$\\displaystyle\\frac{\\var{oseven}}{\\var{pseven}}$
", "$\\displaystyle\\frac{\\var{oeight}}{\\var{peight}}$
", "$\\displaystyle\\frac{\\var{onine}}{\\var{pnine}}$
", "$\\displaystyle\\frac{\\var{oten}}{\\var{pten}}$
"], "showFeedbackIcon": true, "minMarks": 0}]}, {"name": "Decimals to fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}], "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"}], "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": "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.
\ni)
\n$\\var{a}$
\n\\[
\\frac{\\var{a}}{1}\\times\\frac{10}{10}=\\frac{\\var{10a}}{10}\\text{.}
\\]
ii)
\n$\\var{b}$
\n\\[
\\frac{\\var{b}}{1}\\times\\frac{100}{100}=\\frac{\\var{100b}}{100}=\\simplify{{100b}/{100}}\\text{.}
\\]
iii)
\n\n$\\var{d}$
\n\\[
\\frac{\\var{d}}{1}\\times\\frac{10}{10}=\\frac{\\var{10d}}{10}=\\simplify{{10d}/{10}}\\text{.}
\\]
iv)
\n\n$0.\\dot{\\var{c}}$
\nTo 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{.}
\\]
By multiplying both sides by $10$, we can gain another simple equation where
\n\\[
10x=\\var{c}.\\dot{\\var{c}}\\text{.}
\\]
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}
\\]
$\\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.}
$\\displaystyle\\var{f}$
\n\\[
\\var{f}\\times\\frac{\\var{f1000}}{\\var{f1000}}=\\frac{\\var{f2}}{\\var{f1000}}\\text{.}
\\]
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}$.
\nTherefore, it is not possible to simplify the answer any further and the final answer is
\nSimplifying by this amount gives the final answer
\n\\[\\frac{\\var{f3}}{\\var{f4}}.\\]
\n$\\var{h}.\\dot{\\var{j}}\\dot{\\var{k}}.$
\nTo 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
$100x=\\var{h}\\var{j}\\var{k}.\\dot{\\var{j}}\\dot{\\var{k}}.$
\n\nNow 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}
\\]
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 }.$
\nTherefore, it is not possible to simplify and so
\nSimplifying 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}
\\]
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.
\nHave 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.
\ni)
\n$\\var{a}=$
ii)
\n$\\var{b}=$
iii)
\n$\\var{d}=$
iv)
\n$0.\\dot{\\var{c}}=$
Convert this decimal to a fraction, giving your answer in its simplest form.
\n$\\displaystyle\\var{f} = $
", "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.
\nii)
\n$\\var{h}.\\dot{\\var{j}}\\dot{\\var{k}} = $
Hei! Dette er en brøkregningsprøve :-)
", "showanswerstate": false, "allowrevealanswer": true, "advicethreshold": 0, "showtotalmark": true, "feedbackmessages": [], "showactualmark": true, "enterreviewmodeimmediately": true, "showexpectedanswerswhen": "inreview", "showpartfeedbackmessageswhen": "oncompletion", "showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "oncompletion", "showadvicewhen": "never"}, "duration": 900, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "Arithmetic operations involving fractions; converting between decimals and fractions; deciding if fractions are equivalent.
"}, "percentPass": "50", "timing": {"timeout": {"action": "warn", "message": "Tiden er ute!
"}, "allowPause": false, "timedwarning": {"action": "warn", "message": "Nå er det 5 minutter igjen av prøven!
\n\n\n\n"}}, "navigation": {"allowregen": false, "showfrontpage": true, "reverse": true, "showresultspage": "oncompletion", "onleave": {"action": "none", "message": ""}, "browse": true, "preventleave": true}, "name": "Regning med br\u00f8k I", "showstudentname": true, "type": "exam", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Andreas Holmstrom", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/285/"}, {"name": "Katy Dobson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/854/"}], "extensions": [], "custom_part_types": [], "resources": []}