// Numbas version: exam_results_page_options {"name": "Solving quadratics by factorising - AMRC", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "parts": [{"showFeedbackIcon": true, "variableReplacements": [], "gaps": [{"expectedvariablenames": [], "showpreview": true, "vsetrangepoints": 5, "checkingtype": "absdiff", "musthave": {"showStrings": false, "partialCredit": 0, "strings": [")("], "message": ""}, "showCorrectAnswer": true, "notallowed": {"showStrings": false, "partialCredit": 0, "strings": ["x^2", "x*x", "x x", "x(", "x*("], "message": ""}, "checkingaccuracy": 0.0001, "vsetrange": [0, 1], "answersimplification": "std", "showFeedbackIcon": true, "variableReplacements": [], "answer": "({a[0]}x+{b[0]})({c[0]}x+{d[0]})", "checkvariablenames": false, "variableReplacementStrategy": "originalfirst", "type": "jme", "scripts": {}, "marks": "1"}, {"allowFractions": true, "markPerCell": false, "correctAnswerFractions": true, "showCorrectAnswer": true, "numColumns": "2", "allowResize": false, "showFeedbackIcon": true, "variableReplacements": [], "correctAnswer": "matrix([{solmin[0]},{solmax[0]}])", "tolerance": 0, "variableReplacementStrategy": "originalfirst", "type": "matrix", "scripts": {}, "numRows": 1, "marks": 1}], "variableReplacementStrategy": "originalfirst", "type": "gapfill", "scripts": {}, "prompt": "

Factorise \$\\simplify{{a[0]*c[0]}x^2+{a[0]*d[0]+b[0]*c[0]}x+ {b[0]*d[0]}}\$. [[0]]

\n

Hence solve \$\\simplify{{a[0]*c[0]}x^2+{a[0]*d[0]+b[0]*c[0]}x+ {b[0]*d[0]}}=0\$. [[1]]

", "marks": 0, "showCorrectAnswer": true}, {"showFeedbackIcon": true, "variableReplacements": [], "gaps": [{"expectedvariablenames": [], "showpreview": true, "vsetrangepoints": 5, "checkingtype": "absdiff", "musthave": {"showStrings": false, "partialCredit": 0, "strings": [")("], "message": ""}, "showCorrectAnswer": true, "notallowed": {"showStrings": false, "partialCredit": 0, "strings": ["x^2", "x*x", "x x", "x(", "x*("], "message": ""}, "checkingaccuracy": 0.0001, "vsetrange": [0, 1], "answersimplification": "std", "showFeedbackIcon": true, "variableReplacements": [], "answer": "({a[1]}x+{b[1]})({c[1]}x+{d[1]})", "checkvariablenames": false, "variableReplacementStrategy": "originalfirst", "type": "jme", "scripts": {}, "marks": "1"}, {"allowFractions": true, "markPerCell": false, "correctAnswerFractions": true, "showCorrectAnswer": true, "numColumns": "2", "allowResize": false, "showFeedbackIcon": true, "variableReplacements": [], "correctAnswer": "matrix([{solmin[1]},{solmax[1]}])", "tolerance": 0, "variableReplacementStrategy": "originalfirst", "type": "matrix", "scripts": {}, "numRows": 1, "marks": 1}], "variableReplacementStrategy": "originalfirst", "type": "gapfill", "scripts": {}, "prompt": "

Factorise \$\\simplify{{a[1]*c[1]}x^2+{a[1]*d[1]+b[1]*c[1]}x+ {b[1]*d[1]}}\$. [[0]]

\n

Hence solve \$\\simplify{{a[1]*c[1]}x^2+{a[1]*d[1]+b[1]*c[1]}x+ {b[1]*d[1]}}=0\$. [[1]]

", "marks": 0, "showCorrectAnswer": true}, {"showFeedbackIcon": true, "variableReplacements": [], "gaps": [{"expectedvariablenames": [], "showpreview": true, "vsetrangepoints": 5, "checkingtype": "absdiff", "musthave": {"showStrings": false, "partialCredit": 0, "strings": [")("], "message": ""}, "showCorrectAnswer": true, "notallowed": {"showStrings": false, "partialCredit": 0, "strings": ["x^2", "x*x", "x x", "x(", "x*("], "message": ""}, "checkingaccuracy": 0.0001, "vsetrange": [0, 1], "answersimplification": "std", "showFeedbackIcon": true, "variableReplacements": [], "answer": "({a[2]}x+{b[2]})({c[2]}x+{d[2]})", "checkvariablenames": false, "variableReplacementStrategy": "originalfirst", "type": "jme", "scripts": {}, "marks": "1"}, {"allowFractions": true, "markPerCell": false, "correctAnswerFractions": true, "showCorrectAnswer": true, "numColumns": "2", "allowResize": false, "showFeedbackIcon": true, "variableReplacements": [], "correctAnswer": "matrix([{solmin[2]},{solmax[2]}])", "tolerance": 0, "variableReplacementStrategy": "originalfirst", "type": "matrix", "scripts": {}, "numRows": 1, "marks": 1}], "variableReplacementStrategy": "originalfirst", "type": "gapfill", "scripts": {}, "prompt": "

Factorise \$\\simplify{{a[2]*c[2]}x^2+{a[2]*d[2]+b[2]*c[2]}x+ {b[2]*d[2]}}\$. [[0]]

\n

Hence solve \$\\simplify{{a[2]*c[2]}x^2+{a[2]*d[2]+b[2]*c[2]}x+ {b[2]*d[2]}}=0\$. [[1]]

", "marks": 0, "showCorrectAnswer": true}], "functions": {}, "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "variable_groups": [], "ungrouped_variables": ["a", "b", "c", "d", "solmax", "solmin"], "name": "Solving quadratics by factorising - AMRC", "preamble": {"css": "", "js": ""}, "tags": [], "variablesTest": {"condition": "", "maxRuns": 100}, "advice": "", "variables": {"solmax": {"group": "Ungrouped variables", "definition": "vector([max(-d[0]/c[0],-b[0]/a[0])]+[max(-d[1]/c[1],-b[1]/a[1])]+[max(-d[2]/c[2],-b[2]/a[2])]+[max(-d[3]/c[3],-b[3]/a[3])]+[max(-d[4]/c[4],-b[4]/a[4])])", "templateType": "anything", "description": "", "name": "solmax"}, "b": {"group": "Ungrouped variables", "definition": "vector([random(1..5)] + [random(1..5)] + [random(-1..-5)] + [random(-1..-5)] + [random(2..5)] )", "templateType": "anything", "description": "", "name": "b"}, "c": {"group": "Ungrouped variables", "definition": "vector([1]+[1]+[1]+[1]+[1])", "templateType": "anything", "description": "", "name": "c"}, "a": {"group": "Ungrouped variables", "definition": "vector([1]+[random(2..4)]+[1]+[1]+[random(3..4)])", "templateType": "anything", "description": "", "name": "a"}, "solmin": {"group": "Ungrouped variables", "definition": "vector([min(-d[0]/c[0],-b[0]/a[0])]+[min(-d[1]/c[1],-b[1]/a[1])]+[min(-d[2]/c[2],-b[2]/a[2])]+[min(-d[3]/c[3],-b[3]/a[3])]+[min(-d[4]/c[4],-b[4]/a[4])])", "templateType": "anything", "description": "", "name": "solmin"}, "d": {"group": "Ungrouped variables", "definition": "vector([random(1..3)]+[random(2..3)]+[random(1..3)]+[random(-2..-4)]+[random(3..6)])", "templateType": "anything", "description": "", "name": "d"}}, "statement": "