// Numbas version: exam_results_page_options {"name": "what the heck 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Some quadratics are to be solved by factorising

"}, "preamble": {"js": "", "css": ""}, "variables": {"c": {"templateType": "anything", "group": "Ungrouped variables", "definition": "vector([1]+[1]+[1]+[1]+[1])", "name": "c", "description": ""}, "a": {"templateType": "anything", "group": "Ungrouped variables", "definition": "vector([1]+[random(2..4)]+[1]+[1]+[random(3..4)])", "name": "a", "description": ""}, "solmin": {"templateType": "anything", "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])])", "name": "solmin", "description": ""}, "d": {"templateType": "anything", "group": "Ungrouped variables", "definition": "vector([random(1..3)]+[random(2..3)]+[random(1..3)]+[random(-2..-4)]+[random(3..6)])", "name": "d", "description": ""}, "b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "vector([random(1..5)] + [random(1..5)] + [random(-1..-5)] + [random(-1..-5)] + [random(2..5)] )", "name": "b", "description": ""}, "solmax": {"templateType": "anything", "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])])", "name": "solmax", "description": ""}}, "extensions": [], "statement": "

Solve the quadratic equations by factorising. Enter answers in ASCENDING ORDER.

", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "tags": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "ungrouped_variables": ["a", "b", "c", "d", "solmax", "solmin"], "variable_groups": [], "functions": {}, "parts": [{"variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "type": "gapfill", "useCustomName": false, "gaps": [{"checkingAccuracy": 0.001, "notallowed": {"strings": ["x^2", "x*x", "x x", "x(", "x*("], "message": "", "showStrings": false, "partialCredit": 0}, "extendBaseMarkingAlgorithm": true, "useCustomName": false, "marks": "1", "customMarkingAlgorithm": "", "showPreview": true, "checkingType": "absdiff", "answerSimplification": "std", "vsetRange": [0, 1], "vsetRangePoints": 5, "checkVariableNames": false, "valuegenerators": [{"value": "", "name": "x"}], "variableReplacementStrategy": "originalfirst", "type": "jme", "customName": "", "musthave": {"strings": [")("], "message": "", "showStrings": false, "partialCredit": 0}, "showCorrectAnswer": true, "showFeedbackIcon": true, "failureRate": 1, "scripts": {}, "unitTests": [], "answer": "({a[0]}x+{b[0]})({c[0]}x+{d[0]})", "variableReplacements": []}, {"allowFractions": true, "variableReplacementStrategy": "originalfirst", "correctAnswerFractions": true, "extendBaseMarkingAlgorithm": true, "type": "matrix", "useCustomName": false, "allowResize": false, "marks": 1, "numColumns": "1", "showCorrectAnswer": true, "tolerance": 0, "showFeedbackIcon": true, "variableReplacements": [], "customMarkingAlgorithm": "", "numRows": "2", "scripts": {}, "markPerCell": false, "customName": "", "correctAnswer": "matrix([{solmin[0]}],[{solmax[0]}])", "unitTests": []}], "marks": 0, "sortAnswers": false, "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "customMarkingAlgorithm": "", "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$.

\n

[[1]]

", "customName": "", "unitTests": []}, {"variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "type": "gapfill", "useCustomName": false, "gaps": [{"checkingAccuracy": 0.001, "notallowed": {"strings": ["x^2", "x*x", "x x", "x(", "x*("], "message": "", "showStrings": false, "partialCredit": 0}, "extendBaseMarkingAlgorithm": true, "useCustomName": false, "marks": "1", "customMarkingAlgorithm": "", "showPreview": true, "checkingType": "absdiff", "answerSimplification": "std", "vsetRange": [0, 1], "vsetRangePoints": 5, "checkVariableNames": false, "valuegenerators": [{"value": "", "name": "x"}], "variableReplacementStrategy": "originalfirst", "type": "jme", "customName": "", "musthave": {"strings": [")("], "message": "", "showStrings": false, "partialCredit": 0}, "showCorrectAnswer": true, "showFeedbackIcon": true, "failureRate": 1, "scripts": {}, "unitTests": [], "answer": "({a[1]}x+{b[1]})({c[1]}x+{d[1]})", "variableReplacements": []}, {"allowFractions": true, "variableReplacementStrategy": "originalfirst", "correctAnswerFractions": true, "extendBaseMarkingAlgorithm": true, "type": "matrix", "useCustomName": false, "allowResize": false, "marks": 1, "numColumns": "1", "showCorrectAnswer": true, "tolerance": 0, "showFeedbackIcon": true, "variableReplacements": [], "customMarkingAlgorithm": "", "numRows": "2", "scripts": {}, "markPerCell": false, "customName": "", "correctAnswer": "matrix([{solmin[1]}],[{solmax[1]}])", "unitTests": []}], "marks": 0, "sortAnswers": false, "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "customMarkingAlgorithm": "", "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$.

\n

[[1]]

", "customName": "", "unitTests": []}], "name": "what the heck 2", "advice": "

See 3.3 and 3.5 for factorising. See 4.1 and 4.2 for how to use factorising to solve quadratics.

", "type": "question", "contributors": [{"name": "Lovkush Agarwal", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1358/"}, {"name": "John Wick", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3326/"}]}]}], "contributors": [{"name": "Lovkush Agarwal", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1358/"}, {"name": "John Wick", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3326/"}]}