// Numbas version: exam_results_page_options {"name": "Simplifying Fractions ", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["n1", "d1", "ans", "a1", "a2", "n2", "p2", "b1", "b2", "b3", "b4", "c1", "c2", "e1", "e2", "e3", "co1", "co2", "f1", "f2", "co3", "co4", "p3", "g1", "g2"], "name": "Simplifying Fractions ", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

Look for common factors on both numerator and denominator, then cancel until there are no more common factors. 

", "rulesets": {}, "parts": [{"notallowed": {"message": "

Please simplify further.

", "showStrings": false, "strings": ["^", "x*x"], "partialCredit": 0}, "vsetrangepoints": 5, "prompt": "

$\\simplify{({n1}{a1}x^2+{n1}{a2}x)/({d1}{a1}x+{d1}{a2})}$

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{ans}x", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme", "maxlength": {"length": "0", "message": "", "partialCredit": 0}}, {"notallowed": {"message": "", "showStrings": false, "strings": ["^", "n*n"], "partialCredit": 0}, "vsetrangepoints": 5, "prompt": "

$\\simplify{(({n2}{b1}n^({p2}+1)+{n2}{b2}n^{p2})/({n2}{b3}n^({p2}+1)+{n2}{b4}n^{p2}))}$

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "({b1}n+{b2})/({b3}n+{b4})", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"notallowed": {"message": "", "showStrings": false, "strings": ["^", "^2"], "partialCredit": 0}, "vsetrangepoints": 5, "prompt": "

$\\simplify{(x^2+({c1}+{c2})x +{c1}{c2})/(x+{c1})}$

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "x+{c2}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"notallowed": {"message": "", "showStrings": false, "strings": ["^2", "^"], "partialCredit": 0}, "vsetrangepoints": 5, "prompt": "

$\\frac{\\simplify{(n^2+({e1}+{e2})n+{e1}{e2})}}{\\simplify{(n^2+({e1}+{e3})n+{e1}{e3})}}$

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "(n+{e2})/(n+{e3})", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"notallowed": {"message": "", "showStrings": false, "strings": ["x"], "partialCredit": 0}, "vsetrangepoints": 5, "prompt": "

$\\simplify{({co1}x+{co1}{f1})/(x+{f2})}\\times \\simplify{({co2}x+{co2}{f2})/(x+{f1})}$

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "all", "scripts": {}, "answer": "{co1}*{co2}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "prompt": "

$\\simplify{{co3}/(x^({p3}+1) + {g1}x^{p3})}\\div \\simplify{{co4}/({g2}x+{g2}{g1})}$

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "all,fractionnumbers", "scripts": {}, "answer": "({co3}*{g2})/({co4}*x^{p3})", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "statement": "

Simplify each of these

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"f1": {"definition": "random(-5..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "f1", "description": ""}, "f2": {"definition": "random(-5..5 except f1)", "templateType": "anything", "group": "Ungrouped variables", "name": "f2", "description": ""}, "ans": {"definition": "n1/d1", "templateType": "anything", "group": "Ungrouped variables", "name": "ans", "description": ""}, "b4": {"definition": "random(1..9 except b3)", "templateType": "anything", "group": "Ungrouped variables", "name": "b4", "description": ""}, "b1": {"definition": "random(1..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "b1", "description": ""}, "b2": {"definition": "random(1..9 except b1)", "templateType": "anything", "group": "Ungrouped variables", "name": "b2", "description": ""}, "b3": {"definition": "random(1..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "b3", "description": ""}, "d1": {"definition": "random(1..9 except n1)", "templateType": "anything", "group": "Ungrouped variables", "name": "d1", "description": ""}, "co1": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "co1", "description": ""}, "co3": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "co3", "description": ""}, "co2": {"definition": "random(2..5 except co1)", "templateType": "anything", "group": "Ungrouped variables", "name": "co2", "description": ""}, "co4": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "co4", "description": ""}, "g2": {"definition": "random(-5..5 except 0 except g1)", "templateType": "anything", "group": "Ungrouped variables", "name": "g2", "description": ""}, "g1": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "g1", "description": ""}, "a1": {"definition": "random(1..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "a1", "description": ""}, "a2": {"definition": "random(1..9 except a1)", "templateType": "anything", "group": "Ungrouped variables", "name": "a2", "description": ""}, "c2": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "c2", "description": ""}, "c1": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "c1", "description": ""}, "e1": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "e1", "description": ""}, "e3": {"definition": "random(-5..5 except 0 except e2)", "templateType": "anything", "group": "Ungrouped variables", "name": "e3", "description": ""}, "e2": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "e2", "description": ""}, "p2": {"definition": "random(1..4)", "templateType": "anything", "group": "Ungrouped variables", "name": "p2", "description": ""}, "p3": {"definition": "random(1..4)", "templateType": "anything", "group": "Ungrouped variables", "name": "p3", "description": ""}, "n1": {"definition": "random(1..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "n1", "description": ""}, "n2": {"definition": "random(2..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "n2", "description": ""}}, "metadata": {"notes": "", "description": "", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "joshua boddy", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/557/"}]}]}], "contributors": [{"name": "joshua boddy", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/557/"}]}