// Numbas version: exam_results_page_options {"name": "Blathnaid's copy of sp\u00f8rsm\u00e5l 6", "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": "

This question tests the students ability to factorise simple quadratic equations (where the coefficient of the x^2 term is 1) and use the factorised equation to solve the equation when it is equal to 0.

"}, "statement": "

To solve a quadratic equation $ax^2+bx+c=0$ use the formula

\n

\\[x=\\frac{-b\\pm\\sqrt{b^2-4ac}}{2a},\\space \\text{where}\\space  b^2-4ac\\geq0\\text{.}\\]

\n



", "variablesTest": {"maxRuns": 100, "condition": ""}, "parts": [{"marks": 0, "scripts": {}, "type": "gapfill", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "unitTests": [], "showCorrectAnswer": true, "gaps": [{"marks": 1, "scripts": {}, "maxValue": "-r2", "type": "numberentry", "minValue": "-r2", "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst", "allowFractions": false, "variableReplacements": [], "showFeedbackIcon": true, "correctAnswerFraction": false, "unitTests": [], "showCorrectAnswer": true, "mustBeReduced": false, "customMarkingAlgorithm": "", "correctAnswerStyle": "plain", "extendBaseMarkingAlgorithm": true}, {"marks": 0, "scripts": {}, "maxValue": "-r1", "type": "numberentry", "minValue": "-r1", "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst", "allowFractions": false, "variableReplacements": [], "showFeedbackIcon": true, "correctAnswerFraction": false, "unitTests": [], "showCorrectAnswer": true, "mustBeReduced": false, "customMarkingAlgorithm": "", "correctAnswerStyle": "plain", "extendBaseMarkingAlgorithm": true}], "prompt": "

Solve the following equation:  $\\simplify{x^2 +{r1+r2}x+{r1*r2}}=0\\text{.}$

\n

To do so, you need to find the roots $x_1$ and $x_2$, where $x_1<x_2$

\n

\n

$x_1=$ [[0]] (NB:  $x_1<x_2$)

\n

$x_2=$ [[1]]

", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "sortAnswers": false}, {"marks": 0, "scripts": {}, "type": "gapfill", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "unitTests": [], "showCorrectAnswer": true, "gaps": [{"marks": 1, "scripts": {}, "type": "jme", "checkingAccuracy": 0.001, "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "failureRate": 1, "variableReplacements": [], "showFeedbackIcon": true, "showPreview": true, "unitTests": [], "showCorrectAnswer": true, "vsetRangePoints": 5, "musthave": {"strings": ["(", ")"], "showStrings": false, "partialCredit": 0, "message": ""}, "checkingType": "absdiff", "vsetRange": [0, 1], "customMarkingAlgorithm": "", "notallowed": {"strings": ["^"], "showStrings": false, "partialCredit": 0, "message": ""}, "extendBaseMarkingAlgorithm": true, "expectedVariableNames": [], "answer": "(x+{r2})(x+{r1})"}], "prompt": "

Factorise the equation $\\simplify{x^2 +{r1+r2}x+{r1*r2}}\\text{.}$

\n

$\\simplify{x^2 +{r1+r2}x+{r1*r2}}$=[[0]] 

", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "sortAnswers": false}], "variable_groups": [{"name": "Part A ", "variables": ["v6", "v5", "v4", "v3", "v2", "v1", "a", "b"]}, {"name": "Part B", "variables": ["r2", "r1"]}, {"name": "last q", "variables": ["b1", "b2", "b3", "b4"]}], "variables": {"b2": {"description": "", "name": "b2", "group": "last q", "definition": "random(1..6)", "templateType": "anything"}, "b3": {"description": "", "name": "b3", "group": "last q", "definition": "random(1..10)", "templateType": "anything"}, "b4": {"description": "", "name": "b4", "group": "last q", "definition": "random(-8..8 except 0)", "templateType": "anything"}, "t3": {"description": "", "name": "t3", "group": "Ungrouped variables", "definition": "random(t4*t1/t2..10 #1 except 0)", "templateType": "anything"}, "t4": {"description": "", "name": "t4", "group": "Ungrouped variables", "definition": "t2*random(-4..6 except 0)", "templateType": "anything"}, "b": {"description": "", "name": "b", "group": "Part A ", "definition": "-a", "templateType": "anything"}, "v6": {"description": "", "name": "v6", "group": "Part A ", "definition": "random(2..10 except v5 -v5)", "templateType": "anything"}, "v5": {"description": "", "name": "v5", "group": "Part A ", "definition": "random(-8..10 except 0 v1 v2)", "templateType": "anything"}, "v3": {"description": "", "name": "v3", "group": "Part A ", "definition": "v5*v6+v4", "templateType": "anything"}, "r1": {"description": "", "name": "r1", "group": "Part B", "definition": "random(-9..7 except 0..1)", "templateType": "anything"}, "t2": {"description": "", "name": "t2", "group": "Ungrouped variables", "definition": "random(1..4)", "templateType": "anything"}, "b1": {"description": "", "name": "b1", "group": "last q", "definition": "random(2..6)", "templateType": "anything"}, "t1": {"description": "", "name": "t1", "group": "Ungrouped variables", "definition": "random(1..2)", "templateType": "anything"}, "v4": {"description": "", "name": "v4", "group": "Part A ", "definition": "random(2..20)", "templateType": "anything"}, "a": {"description": "", "name": "a", "group": "Part A ", "definition": "random(2..10)", "templateType": "anything"}, "v1": {"description": "", "name": "v1", "group": "Part A ", "definition": "random(-9..10 except 0)", "templateType": "anything"}, "r2": {"description": "", "name": "r2", "group": "Part B", "definition": "random(r1..9 except 0 r1 -r1)", "templateType": "anything"}, "v2": {"description": "", "name": "v2", "group": "Part A ", "definition": "random(2..6 except [v1,-v1])", "templateType": "anything"}}, "tags": [], "functions": {}, "rulesets": {}, "extensions": [], "advice": "", "preamble": {"css": "", "js": ""}, "name": "Blathnaid's copy of sp\u00f8rsm\u00e5l 6", "ungrouped_variables": ["t1", "t2", "t3", "t4"], "type": "question", "contributors": [{"name": "Blathnaid Sheridan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/447/"}, {"name": "Ida Landg\u00e4rds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2336/"}]}]}], "contributors": [{"name": "Blathnaid Sheridan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/447/"}, {"name": "Ida Landg\u00e4rds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2336/"}]}