// Numbas version: finer_feedback_settings {"name": "Multiplying fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["denom1", "num1", "denom2", "num2", "num3", "denom3", "num1simp", "denom1simp", "num2simp", "denom2simp", "prompts", "prompt"], "name": "Multiplying fractions", "tags": [], "preamble": {"css": ".fractiontable table {\n width: 10%; \n padding: 0px; \n border-width: 0px; \n layout: fixed;\n}\n\n.fractiontable .tddenom \n{\n text-align: center;\n}\n\n.fractiontable .tdnum \n{\n width: 15%; \n border-bottom: 1px solid black; \n text-align: center;\n}\n\n.fractiontable .tdeq \n{\n width: 5%; \n border-bottom: 0px;\n font-size: x-large;\n /* vertical-align: text-bottom;*/\n}\n\n\n.fractiontable th {\n background-color:#aaa;\n}\n/*Fix the height of all cells EXCEPT table-headers to 40px*/\n.fractiontable td {\n height:40px;\n}\n", "js": ""}, "advice": "
See step.
", "rulesets": {"std": ["all"]}, "parts": [{"stepsPenalty": 0, "prompt": "We want to find:
\n{num1simp} | \n× | \n{num2simp} | \n
{denom1simp} | \n\n | {denom2simp} | \n
The product of 2 fractions is:
\nthe product of the numerators over the product of the denominators.
\n$\\var{prompt} $
\n{num1simp} | \n× | \n{num2simp} | \n= | \n[[0]] | \n
{denom1simp} | \n\n | {denom2simp} | \n\n | [[1]] | \n
The top (or numerator) of the product = {num1simp} × {num2simp} = ?
\nThe bottom (or denominator) of the product = {denom1simp} × {denom2simp} = ?
\nRemember to cancel the result if you can.
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "scripts": {}, "marks": 0, "showCorrectAnswer": true, "type": "gapfill"}], "extensions": [], "statement": "Try this without a calculator.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"denom1": {"definition": "random(2..5)\n", "templateType": "anything", "group": "Ungrouped variables", "name": "denom1", "description": ""}, "denom3": {"definition": "(denom1simp*denom2simp)/gcd(num1simp*num2simp, denom1simp*denom2simp)", "templateType": "anything", "group": "Ungrouped variables", "name": "denom3", "description": ""}, "denom2": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "denom2", "description": ""}, "prompt": {"definition": "switch(gcd(num1simp*num2simp, denom1simp*denom2simp) >1, prompts[0], prompts[1])", "templateType": "anything", "group": "Ungrouped variables", "name": "prompt", "description": ""}, "num1": {"definition": "denom1-random(1..denom1-1) //make sure the numerator's bigger than denom\n", "templateType": "anything", "group": "Ungrouped variables", "name": "num1", "description": ""}, "num2": {"definition": "denom2-random(1..denom2-1) //make sure the numerator's bigger than denom", "templateType": "anything", "group": "Ungrouped variables", "name": "num2", "description": ""}, "num3": {"definition": "(num1simp*num2simp)/gcd(num1simp*num2simp, denom1simp*denom2simp)", "templateType": "anything", "group": "Ungrouped variables", "name": "num3", "description": ""}, "num1simp": {"definition": "num1/gcd(num1, denom1)", "templateType": "anything", "group": "Ungrouped variables", "name": "num1simp", "description": ""}, "prompts": {"definition": "[ \"Make sure you show the result in its simplest form: you\\'ll have to cancel ...\", \" \" ]", "templateType": "list of strings", "group": "Ungrouped variables", "name": "prompts", "description": ""}, "denom1simp": {"definition": "denom1/gcd(num1,denom1)", "templateType": "anything", "group": "Ungrouped variables", "name": "denom1simp", "description": ""}, "denom2simp": {"definition": "denom2/gcd(num2,denom2)", "templateType": "anything", "group": "Ungrouped variables", "name": "denom2simp", "description": ""}, "num2simp": {"definition": "num2/gcd(num2, denom2)", "templateType": "anything", "group": "Ungrouped variables", "name": "num2simp", "description": ""}}, "metadata": {"description": "Practice of multiplying fractions (without a calculator).
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Rob Cade", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/70/"}]}]}], "contributors": [{"name": "Rob Cade", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/70/"}]}