// Numbas version: exam_results_page_options {"name": "PreCal Solving Absolute Value Equations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "preamble": {"js": "", "css": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "variable_groups": [], "tags": [], "ungrouped_variables": ["A", "B", "diff", "C", "D", "xVal1", "xVal2", "xVal1check", "xVal2check"], "functions": {}, "name": "PreCal Solving Absolute Value Equations", "advice": "", "metadata": {"licence": "All rights reserved", "description": ""}, "extensions": [], "variables": {"D": {"definition": "diff+C", "templateType": "anything", "group": "Ungrouped variables", "name": "D", "description": ""}, "xVal2": {"definition": "precround((C-D)/A -B,3)", "templateType": "anything", "group": "Ungrouped variables", "name": "xVal2", "description": ""}, "xVal1check": {"definition": "precround(A*abs(xVal1+B)+C-D,1)", "templateType": "anything", "group": "Ungrouped variables", "name": "xVal1check", "description": ""}, "xVal1": {"definition": "precround((D-C)/A - B,3)", "templateType": "anything", "group": "Ungrouped variables", "name": "xVal1", "description": ""}, "C": {"definition": "random(-15..15)", "templateType": "anything", "group": "Ungrouped variables", "name": "C", "description": ""}, "diff": {"definition": "random(1..25)", "templateType": "anything", "group": "Ungrouped variables", "name": "diff", "description": ""}, "xVal2check": {"definition": "precround(A*abs(xVal2+B)+C-D,1)", "templateType": "anything", "group": "Ungrouped variables", "name": "xVal2check", "description": ""}, "A": {"definition": "random(1..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "A", "description": ""}, "B": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "B", "description": ""}}, "parts": [{"showFeedbackIcon": true, "type": "jme", "prompt": "

The solution is:

\n

Your answer should be in the format: set(x1,x2)

\n

Round to the nearest thousandths.

", "showPreview": true, "variableReplacements": [], "vsetRangePoints": 5, "failureRate": 1, "customName": "", "answer": "set({xVal1},{xVal2})", "showCorrectAnswer": true, "unitTests": [], "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "vsetRange": [0, 1], "variableReplacementStrategy": "originalfirst", "valuegenerators": [], "useCustomName": false, "checkingType": "dp", "adaptiveMarkingPenalty": 0, "checkingAccuracy": 3, "marks": 1, "scripts": {}, "checkVariableNames": false}], "statement": "

Solve the following equation:

\n

$\\simplify{ {A}*abs(x+{B}) +{C}={D}}$

", "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/"}]}