// Numbas version: exam_results_page_options {"name": "Ugur's copy of Solving quadratic equations 1(a)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "statement": "

There are two values that satisfy the quadratic equation:

\n

\\(\\var{a1}x^2+\\simplify{{{a1}*{b1}*{c1}}}=\\simplify{{a1}*{b1}+{a1}{c1}}x\\)

", "rulesets": {}, "variable_groups": [], "tags": [], "name": "Ugur's copy of Solving quadratic equations 1(a)", "functions": {}, "parts": [{"scripts": {}, "marks": 0, "variableReplacements": [], "type": "gapfill", "showCorrectAnswer": true, "prompt": "

Type in the greater of the two values that satisfies the equation.

\n

Input your answer correct to three decimal places.  \\(x = \\) [[0]]

\n

Type in the lesser of the two values that satisfies the equation. 

\n

Input your answer correct to three decimal places.  \\(x = \\) [[1]]

", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "gaps": [{"notationStyles": ["plain", "en", "si-en"], "precisionPartialCredit": 0, "correctAnswerStyle": "plain", "scripts": {}, "variableReplacements": [], "maxValue": "{b1}", "mustBeReduced": false, "precisionMessage": "You have not given your answer to the correct precision.", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "correctAnswerFraction": false, "allowFractions": false, "minValue": "{b1}", "marks": 1, "strictPrecision": false, "precisionType": "dp", "showPrecisionHint": false, "showFeedbackIcon": true, "precision": "3"}, {"notationStyles": ["plain", "en", "si-en"], "precisionPartialCredit": 0, "correctAnswerStyle": "plain", "scripts": {}, "variableReplacements": [], "maxValue": "{c1}", "mustBeReduced": false, "precisionMessage": "You have not given your answer to the correct precision.", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "correctAnswerFraction": false, "allowFractions": false, "minValue": "{c1}", "marks": 1, "strictPrecision": false, "precisionType": "dp", "showPrecisionHint": false, "showFeedbackIcon": true, "precision": "3"}]}], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Solving quadratic equations using a formula,

"}, "variablesTest": {"condition": "", "maxRuns": "1"}, "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}\\)

\n

In this example  \\(a=\\var{a1},\\,\\,\\,b=\\simplify{+-{a1}*({b1}+{c1})}\\)  and  \\(c=\\simplify{{a1}*{b1}*{c1}}\\)

\n

\\(x=\\frac{\\var{b}\\pm \\sqrt{(-\\var{b})^2-4*\\var{a1}*\\var{c}}}{2*\\var{a1}}\\)

\n

\\(x=\\frac{\\var{b}\\pm \\sqrt{\\simplify{{b}^2-4*{a1}*{c}}}}{\\simplify{2*{a1}}}\\)

\n

\\(x=\\simplify{{b}+({b}^2-4*{a1}*{c})^0.5}/\\simplify{2*{a1}}=\\simplify{({b}+({b}^2-4*{a1}*{c})^0.5)/(2*{a1})}\\)        or        \\(x=\\simplify{{b}-({b}^2-4*{a1}*{c})^0.5}/\\simplify{2*{a1}}=\\simplify{({b}-({b}^2-4*{a1}*{c})^0.5)/(2*{a1})}\\)

\n

\n

", "ungrouped_variables": ["a1", "b1", "c1", "b", "c"], "preamble": {"css": "", "js": ""}, "variables": {"b": {"name": "b", "templateType": "anything", "definition": "{a1}*({b1}+{c1})", "description": "", "group": "Ungrouped variables"}, "a1": {"name": "a1", "templateType": "randrange", "definition": "random(1..6#1)", "description": "", "group": "Ungrouped variables"}, "c": {"name": "c", "templateType": "anything", "definition": "{a1}*{b1}*{c1}", "description": "", "group": "Ungrouped variables"}, "b1": {"name": "b1", "templateType": "randrange", "definition": "random(11..25#1)", "description": "", "group": "Ungrouped variables"}, "c1": {"name": "c1", "templateType": "randrange", "definition": "random(1..10#1)", "description": "", "group": "Ungrouped variables"}}, "type": "question", "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Ugur Efem", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14200/"}]}]}], "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Ugur Efem", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14200/"}]}