// Numbas version: exam_results_page_options {"name": "NC PreCalculus U1L2 Solving Equations --quadratic", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"preamble": {"js": "", "css": ""}, "extensions": [], "advice": "", "metadata": {"description": "", "licence": "All rights reserved"}, "statement": "

Solve for x.

\n

$\\simplify{{A}*x^2 + {B}*x + {C} = {D}}$

", "ungrouped_variables": ["A", "B", "C", "D", "Cval", "x1", "x2"], "rulesets": {}, "tags": [], "variablesTest": {"condition": "", "maxRuns": 100}, "variable_groups": [], "parts": [{"scripts": {}, "variableReplacementStrategy": "originalfirst", "failureRate": 1, "marks": 1, "valuegenerators": [], "checkingAccuracy": 0.001, "customName": "", "type": "jme", "checkVariableNames": false, "customMarkingAlgorithm": "", "checkingType": "absdiff", "adaptiveMarkingPenalty": 0, "vsetRangePoints": 5, "variableReplacements": [], "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "showPreview": true, "prompt": "

Express your answer in set notation:  set(x1,x2)

\n

", "showFeedbackIcon": true, "answer": "set({x1},{x2})", "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true}], "functions": {}, "variables": {"Cval": {"definition": "C-D", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "Cval"}, "x2": {"definition": "precround((-B - SQRT(B^2-4*A*Cval))/(2*A),3)", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "x2"}, "D": {"definition": "random(-10..10 except A*B)", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "D"}, "B": {"definition": "random(-10..10 except 0)", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "B"}, "x1": {"definition": "precround((-B + SQRT(B^2-4*A*Cval))/(2*A),3)", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "x1"}, "A": {"definition": "random(-15..15 except 0)", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "A"}, "C": {"definition": "random(-5..5 except 0)", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "C"}}, "name": "NC PreCalculus U1L2 Solving Equations --quadratic", "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}]}]}], "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}]}