// Numbas version: exam_results_page_options {"name": "NG5 Multiply Fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "NG5 Multiply Fractions", "tags": ["improper fractions", "mixed numbers", "multiplication of fractions", "multiplying fractions", "squared fraction", "taxonomy"], "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"}, "statement": "

Evaluate the following multiplication, giving the answer in its simplest form.

", "advice": "

\n

To multiply $\\displaystyle\\frac{\\var{a_coprime}}{\\var{c_coprime}}\\times\\frac{\\var{b_coprime}}{\\var{d_coprime}}$, address the numerators and denominators separately.

\n

Multiply the numerators across both fractions.

\n

$\\var{a_coprime}\\times\\var{b_coprime}=\\var{ab}$,

\n

and then multiply the denominators across both fractions.

\n

$\\var{c_coprime}\\times\\var{d_coprime}=\\var{cd}$.

\n

The values of the multiplied numerators and denominators will be the numerator and denominator of the new fraction: $\\displaystyle\\frac{\\var{ab}}{\\var{cd}}$.

\n

This 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.

\n

The greatest common divisor of $\\var{ab}$ and $\\var{cd}$ is $\\var{gcd}$.

\n

By using $\\var{gcd}$ to cancel down the fraction, the final answer is $\\displaystyle\\simplify{{ab}/{cd}}$.

\n

\n

Use this link to find some resources which will help you revise this topic.

\n

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"k": {"name": "k", "group": "Part b", "definition": "random(1..7 except j)", "description": "

Random number between 1 and 20

", "templateType": "anything", "can_override": false}, "bb": {"name": "bb", "group": "Part d", "definition": "28*aa", "description": "", "templateType": "anything", "can_override": false}, "cc": {"name": "cc", "group": "Part d", "definition": "bb/7", "description": "", "templateType": "anything", "can_override": false}, "g": {"name": "g", "group": "Part b", "definition": "random(1 .. 7#1)", "description": "

Random number between 1 and 20.

", "templateType": "randrange", "can_override": false}, "cd": {"name": "cd", "group": "Part a", "definition": "c_coprime*d_coprime", "description": "

Variable c times variable d.

", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Part a", "definition": "random(2..12 except c)", "description": "

Random number from 1 to 12.

", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Part a", "definition": "random(2 .. 12#1)", "description": "

Random number from 1 to 12.

", "templateType": "randrange", "can_override": false}, "l": {"name": "l", "group": "Part c", "definition": "random(1..12)", "description": "", "templateType": "anything", "can_override": false}, "numif": {"name": "numif", "group": "Part b", "definition": "(f*h_coprime)+g_coprime", "description": "

Numerator of the improper fraction converted from a mixed number.

", "templateType": "anything", "can_override": false}, "gcd_gh": {"name": "gcd_gh", "group": "Part b", "definition": "gcd(g,h)", "description": "", "templateType": "anything", "can_override": false}, "fh": {"name": "fh", "group": "Part b", "definition": "f*h_coprime", "description": "

Variable f times variable h

", "templateType": "anything", "can_override": false}, "g_coprime": {"name": "g_coprime", "group": "Part b", "definition": "g/gcd_gh", "description": "", "templateType": "anything", "can_override": false}, "j_coprime": {"name": "j_coprime", "group": "Part b", "definition": "j/gcd_kj", "description": "", "templateType": "anything", "can_override": false}, "gcd_kj": {"name": "gcd_kj", "group": "Part b", "definition": "gcd(k,j)", "description": "", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "Part b", "definition": "random(1 .. 4#1)", "description": "

Random number between 1 and 4 - integer part of the mixed number.

", "templateType": "randrange", "can_override": false}, "c_coprime": {"name": "c_coprime", "group": "Part a", "definition": "c/gcd_ac", "description": "", "templateType": "anything", "can_override": false}, "gcd": {"name": "gcd", "group": "Part a", "definition": "gcd(ab,cd)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Part a", "definition": "random(2 .. 12#1)", "description": "

Random number from 1 to 12.

", "templateType": "randrange", "can_override": false}, "d_coprime": {"name": "d_coprime", "group": "Part a", "definition": "d/gcd_bd", "description": "", "templateType": "anything", "can_override": false}, "ddcc": {"name": "ddcc", "group": "Part d", "definition": "dd*cc", "description": "", "templateType": "anything", "can_override": false}, "gcdb": {"name": "gcdb", "group": "Part b", "definition": "gcd(num,denom)", "description": "", "templateType": "anything", "can_override": false}, "gcd_ac": {"name": "gcd_ac", "group": "Part a", "definition": "gcd(a,c)", "description": "

PART A

", "templateType": "anything", "can_override": false}, "denom": {"name": "denom", "group": "Part b", "definition": "j_coprime*(h_coprime/gcda)", "description": "

Denominator of new fraction.

", "templateType": "anything", "can_override": false}, "l_coprime": {"name": "l_coprime", "group": "Part c", "definition": "l/gcd_lm", "description": "", "templateType": "anything", "can_override": false}, "m": {"name": "m", "group": "Part c", "definition": "random(1..12 except l)", "description": "", "templateType": "anything", "can_override": false}, "a_coprime": {"name": "a_coprime", "group": "Part a", "definition": "a/gcd_ac", "description": "", "templateType": "anything", "can_override": false}, "h": {"name": "h", "group": "Part b", "definition": "random(7 .. 10#1)", "description": "

Random number between 1 and 20.

", "templateType": "randrange", "can_override": false}, "num": {"name": "num", "group": "Part b", "definition": "k_coprime*{numif/gcda}", "description": "

Numerator of gap 0

", "templateType": "anything", "can_override": false}, "m_coprime": {"name": "m_coprime", "group": "Part c", "definition": "m/gcd_lm", "description": "", "templateType": "anything", "can_override": false}, "aa": {"name": "aa", "group": "Part d", "definition": "random(1..6)", "description": "", "templateType": "anything", "can_override": false}, "gcda": {"name": "gcda", "group": "Part b", "definition": "gcd({numif},{h_coprime})", "description": "

gcd of the numerator of the improper fraction

", "templateType": "anything", "can_override": false}, "h_coprime": {"name": "h_coprime", "group": "Part b", "definition": "h/gcd_gh", "description": "", "templateType": "anything", "can_override": false}, "ee": {"name": "ee", "group": "Part d", "definition": "ddcc/4", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Part a", "definition": "random(3,5,7,11)", "description": "

Random number from 1 to 12.

", "templateType": "anything", "can_override": false}, "b_coprime": {"name": "b_coprime", "group": "Part a", "definition": "b/gcd_bd", "description": "", "templateType": "anything", "can_override": false}, "l_coprime2": {"name": "l_coprime2", "group": "Part c", "definition": "l_coprime^2/gcd_lcmc", "description": "", "templateType": "anything", "can_override": false}, "k_coprime": {"name": "k_coprime", "group": "Part b", "definition": "k/gcd_kj", "description": "", "templateType": "anything", "can_override": false}, "j": {"name": "j", "group": "Part b", "definition": "Random(3,5,7,11,13,17)", "description": "

Random number between 1 and 20

", "templateType": "anything", "can_override": false}, "dd": {"name": "dd", "group": "Part d", "definition": "random(1..3)", "description": "", "templateType": "anything", "can_override": false}, "gcd_lcmc": {"name": "gcd_lcmc", "group": "Part c", "definition": "gcd((l_coprime)^2,(m_coprime)^2)", "description": "", "templateType": "anything", "can_override": false}, "m_coprime2": {"name": "m_coprime2", "group": "Part c", "definition": "m_coprime^2/gcd_lcmc", "description": "", "templateType": "anything", "can_override": false}, "gcd_lm": {"name": "gcd_lm", "group": "Part c", "definition": "gcd(l,m)", "description": "", "templateType": "anything", "can_override": false}, "ab": {"name": "ab", "group": "Part a", "definition": "a_coprime*b_coprime", "description": "

Variable a times variable b

", "templateType": "anything", "can_override": false}, "gcd_bd": {"name": "gcd_bd", "group": "Part a", "definition": "gcd(b,d)", "description": "", "templateType": "anything", "can_override": false}, "gcd2": {"name": "gcd2", "group": "Part b", "definition": "gcd(num,denom)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Part a", "variables": ["a", "b", "c", "d", "a_coprime", "b_coprime", "c_coprime", "d_coprime", "gcd_ac", "gcd_bd", "ab", "cd", "gcd"]}, {"name": "Part b", "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 d", "variables": ["aa", "bb", "cc", "dd", "ddcc", "ee"]}, {"name": "Part c", "variables": ["l", "m", "gcd_lm", "l_coprime", "m_coprime", "gcd_lcmc", "l_coprime2", "m_coprime2"]}], "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"}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\displaystyle\\frac{\\var{a_coprime}}{\\var{c_coprime}}\\times\\frac{\\var{b_coprime}}{\\var{d_coprime}}$ =  [[0]] [[1]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{ab}/{gcd}", "maxValue": "{ab}/{gcd}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{cd}/{gcd}", "maxValue": "{cd}/{gcd}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "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/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}, {"name": "Oliver Spenceley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/23557/"}]}]}], "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/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}, {"name": "Oliver Spenceley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/23557/"}]}