// Numbas version: exam_results_page_options {"name": "Quadratic Factorisation", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"preamble": {"js": "", "css": ""}, "functions": {}, "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "variable_groups": [], "variables": {"solmin": {"description": "", "name": "solmin", "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", "group": "Ungrouped variables"}, "a": {"description": "", "name": "a", "definition": "vector([1]+[random(2..4)]+[1]+[1]+[random(3..4)])", "templateType": "anything", "group": "Ungrouped variables"}, "solmax": {"description": "", "name": "solmax", "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", "group": "Ungrouped variables"}, "b": {"description": "", "name": "b", "definition": "vector([random(1..5)] + [random(1..5)] + [random(-1..-5)] + [random(-1..-5)] + [random(2..5)] )", "templateType": "anything", "group": "Ungrouped variables"}, "c": {"description": "", "name": "c", "definition": "vector([1]+[1]+[1]+[1]+[1])", "templateType": "anything", "group": "Ungrouped variables"}, "d": {"description": "", "name": "d", "definition": "vector([random(1..3)]+[random(2..3)]+[random(1..3)]+[random(-2..-4)]+[random(3..6)])", "templateType": "anything", "group": "Ungrouped variables"}}, "tags": [], "ungrouped_variables": ["a", "b", "c", "d", "solmax", "solmin"], "name": "Quadratic Factorisation", "parts": [{"showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": 0, "scripts": {}, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "prompt": "

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

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

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

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

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

", "gaps": [{"showCorrectAnswer": true, "checkingaccuracy": 0.0001, "showFeedbackIcon": true, "musthave": {"partialCredit": 0, "showStrings": false, "strings": [")("], "message": ""}, "marks": "1", "scripts": {}, "variableReplacementStrategy": "originalfirst", "type": "jme", "expectedvariablenames": [], "notallowed": {"partialCredit": 0, "showStrings": false, "strings": ["x^2", "x*x", "x x", "x(", "x*("], "message": ""}, "checkvariablenames": false, "answer": "({a[2]}x+{b[2]})({c[2]}x+{d[2]})", "variableReplacements": [], "answersimplification": "std", "vsetrange": [0, 1], "showpreview": true, "checkingtype": "absdiff", "vsetrangepoints": 5}]}], "statement": "

Factorise the following quadratics into the form (ax+b)(cx+d). Ensure that you always write out two pairs of brackets. 

", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Several quadratics are given and students are asked to complete the square.

"}, "variablesTest": {"maxRuns": 100, "condition": ""}, "extensions": [], "advice": "", "type": "question", "contributors": [{"name": "Gareth Woods", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/978/"}]}]}], "contributors": [{"name": "Gareth Woods", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/978/"}]}