// Numbas version: exam_results_page_options {"name": "Maria's copy of Solving quadratic equations 1(b)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"useCustomName": false, "prompt": "
Type in the greater of the two values that satisfies the equation. Input your answer correct to three decimal places.
\n\\(x\\) = [[0]]
\nType in the lesser of the two values that satisfies the equation. Input your answer correct to three decimal places.
\n\\(x\\) = [[1]]
", "scripts": {}, "sortAnswers": false, "customName": "", "gaps": [{"useCustomName": false, "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "minValue": "-{b1}/(2*{a1})+sqrt({b1}^2-4*{a1}*{c1})/(2*{a1})", "strictPrecision": false, "precision": "3", "marks": 1, "precisionPartialCredit": 0, "type": "numberentry", "showFeedbackIcon": true, "mustBeReduced": false, "maxValue": "-{b1}/(2*{a1})+sqrt({b1}^2-4*{a1}*{c1})/(2*{a1})", "customMarkingAlgorithm": "", "variableReplacements": [], "precisionMessage": "You have not given your answer to the correct precision.", "extendBaseMarkingAlgorithm": true, "allowFractions": false, "showPrecisionHint": false, "customName": "", "unitTests": [], "precisionType": "dp", "correctAnswerStyle": "plain", "correctAnswerFraction": false, "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true}, {"useCustomName": false, "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "minValue": "-{b1}/(2*{a1})-sqrt({b1}^2-4*{a1}*{c1})/(2*{a1})", "strictPrecision": false, "precision": "3", "marks": 1, "precisionPartialCredit": 0, "type": "numberentry", "showFeedbackIcon": true, "mustBeReduced": false, "maxValue": "-{b1}/(2*{a1})-sqrt({b1}^2-4*{a1}*{c1})/(2*{a1})", "customMarkingAlgorithm": "", "variableReplacements": [], "precisionMessage": "You have not given your answer to the correct precision.", "extendBaseMarkingAlgorithm": true, "allowFractions": false, "showPrecisionHint": false, "customName": "", "unitTests": [], "precisionType": "dp", "correctAnswerStyle": "plain", "correctAnswerFraction": false, "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true}], "unitTests": [], "marks": 0, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacements": [], "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true}], "extensions": [], "tags": [], "ungrouped_variables": ["a1", "b1", "c1"], "preamble": {"js": "", "css": ""}, "advice": "The formula for solving a quadratic equation of the form \\(ax^2+bx+c=0\\) is given by
\n\\(x=\\frac{-b\\pm \\sqrt{b^2-4ac}}{2a}\\)
\nIn this example \\(a=\\var{a1},\\,\\,\\,b=\\var{b1}\\) and \\(c=\\var{c1}\\)
\n\\(x=\\frac{-\\var{b1}\\pm \\sqrt{\\var{b1}^2-4\\times\\var{a1}\\times\\var{c1}}}{2\\times\\var{a1}}\\)
\n\\(x=\\frac{-\\var{b1}\\pm \\sqrt{\\simplify{{b1}^2-4*{a1}*{c1}}}}{\\simplify{2*{a1}}}\\)
\n\\(x=\\simplify{(-{b1}+ ({b1}^2-4*{a1}*{c1})^0.5)/(2*{a1})}\\) or \\(x=\\simplify{(-{b1}- ({b1}^2-4*{a1}*{c1})^0.5)/(2*{a1})}\\)
", "functions": {}, "variable_groups": [], "name": "Maria's copy of Solving quadratic equations 1(b)", "variables": {"a1": {"description": "", "name": "a1", "templateType": "randrange", "definition": "random(1 .. 3#1)", "group": "Ungrouped variables"}, "b1": {"description": "", "name": "b1", "templateType": "randrange", "definition": "random(9 .. 16#1)", "group": "Ungrouped variables"}, "c1": {"description": "", "name": "c1", "templateType": "randrange", "definition": "random(1 .. 5#1)", "group": "Ungrouped variables"}}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "Solving quadratic equations using a formula,
"}, "statement": "There are two values that satisfy the quadratic function below when \\(y=\\var{c1}\\):
\n\\(y=\\var{a1}x^2+\\var{b1}x\\)
", "rulesets": {}, "variablesTest": {"maxRuns": "1", "condition": "b1^2>4*a1*c1"}, "type": "question", "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}]}]}], "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}]}