// Numbas version: exam_results_page_options {"name": "Rachel's copy of Algebra VI: Solving Linear Equations (Sarah)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"ans4": {"templateType": "anything", "definition": "n*m+l", "description": "", "group": "Ungrouped variables", "name": "ans4"}, "f": {"templateType": "anything", "definition": "random(2..12)", "description": "", "group": "Ungrouped variables", "name": "f"}, "q": {"templateType": "anything", "definition": "random(-12..12 except [0,1,-1])", "description": "", "group": "Ungrouped variables", "name": "q"}, "p": {"templateType": "anything", "definition": "random(-12..12 except[0,q])", "description": "", "group": "Ungrouped variables", "name": "p"}, "ans3": {"templateType": "anything", "definition": "(k+j)*h", "description": "", "group": "Ungrouped variables", "name": "ans3"}, "r": {"templateType": "anything", "definition": "random(1..12)", "description": "", "group": "Ungrouped variables", "name": "r"}, "m": {"templateType": "anything", "definition": "random(2..12 except l)", "description": "", "group": "Ungrouped variables", "name": "m"}, "s": {"templateType": "anything", "definition": "random([-13,-11,-7,-5,-3,-2,13,11,7,5,3,2])", "description": "", "group": "Ungrouped variables", "name": "s"}, "l": {"templateType": "anything", "definition": "random(2..12)", "description": "", "group": "Ungrouped variables", "name": "l"}, "g": {"templateType": "anything", "definition": "random(-12..12 except [0])", "description": "", "group": "Ungrouped variables", "name": "g"}, "b": {"templateType": "anything", "definition": "random(2..12 except a)", "description": "", "group": "Ungrouped variables", "name": "b"}, "ans6": {"templateType": "anything", "definition": "u*t/s", "description": "", "group": "Ungrouped variables", "name": "ans6"}, "a": {"templateType": "anything", "definition": "random(2..12)", "description": "", "group": "Ungrouped variables", "name": "a"}, "n": {"templateType": "anything", "definition": "random(-12..12)", "description": "", "group": "Ungrouped variables", "name": "n"}, "ans2": {"templateType": "anything", "definition": "(g-d)/(-f)", "description": "", "group": "Ungrouped variables", "name": "ans2"}, "c": {"templateType": "anything", "definition": "random(-12..12 except [0,b])", "description": "", "group": "Ungrouped variables", "name": "c"}, "ans5": {"templateType": "anything", "definition": "p/q-r", "description": "", "group": "Ungrouped variables", "name": "ans5"}, "j": {"templateType": "anything", "definition": "random(2..12 except [h])", "description": "", "group": "Ungrouped variables", "name": "j"}, "t": {"templateType": "anything", "definition": "random([13,11,7,5,3,2] except s)", "description": "", "group": "Ungrouped variables", "name": "t"}, "k": {"templateType": "anything", "definition": "random(-13..-1 except -j)", "description": "", "group": "Ungrouped variables", "name": "k"}, "u": {"templateType": "anything", "definition": "random(-12..12 except 0)", "description": "", "group": "Ungrouped variables", "name": "u"}, "ans1": {"templateType": "anything", "definition": "(c-b)/a", "description": "", "group": "Ungrouped variables", "name": "ans1"}, "d": {"templateType": "anything", "definition": "random(1..12 except [f,g])", "description": "", "group": "Ungrouped variables", "name": "d"}, "h": {"templateType": "anything", "definition": "random(list(2..12)+[20,50,100,200])", "description": "", "group": "Ungrouped variables", "name": "h"}}, "functions": {}, "tags": [], "statement": "

Solve the following equations for x:

", "variablesTest": {"maxRuns": "100", "condition": ""}, "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["a", "b", "c", "ans1", "d", "f", "g", "ans2", "h", "j", "k", "ans3", "l", "m", "n", "ans4", "p", "q", "r", "ans5", "s", "t", "u", "ans6"], "advice": "

Part a)

\n

Given $\\var{a}x+\\var{b}=\\var{c}$, we can start by subtracting $\\var{b}$ from both sides to get $\\var{a}x = \\simplify{{c-b}}$.

\n

Dividing both sides by $\\var{a}$ gives us $x= \\simplify {{c-b}/{a}}$

\n

\n


Part b)

\n

We could start by subtracting $\\var{d}$ from both sides to get $-\\var{f}y = \\simplify{{g-d}}$.

\n

Or we could first add $\\var{f}y $ to both sides to get $\\var{d} = \\var{g} + \\var{f}y$. This avoids needing to divide by a negative number.

\n

Either way we should end up with $y= \\dfrac{\\simplify{{d- g}}}{\\var{f}}= \\simplify{{d-g}/{f}}$.

\n

\n

\n

Part c)

\n

$\\displaystyle{\\frac{z}{\\var{h}}}-\\var{j}=\\var{k}$ 

\n

$\\displaystyle{\\frac{z}{\\var{h}}}=\\var{k+j}$

\n

$z=\\var{ans3}$

\n

\n

\n

Part d)

\n

$\\displaystyle{\\frac{a-\\var{l}}{\\var{m}}}=\\var{n}$

\n

$a-\\var{l}=\\var{n*m}$

\n

$a=\\var{ans4}$

\n



\n

\n

Part e)

\n

$\\var{p}$$=$$\\var{q}(\\var{r}+b)$ 

\n

$\\displaystyle{\\simplify{{p}/{q}}}$$=$$\\var{r}+b$

\n

$\\displaystyle{\\simplify{{p-r*q}/{q}}}$$=$$b$

\n

\n

\n

Part f)

\n

$\\displaystyle{\\frac{\\var{s}w}{\\var{t}}}$$=$$\\var{u}$ 

\n

$\\var{s}w$$=$$\\var{u*t}$

\n

$w$$=$$\\displaystyle{\\simplify{{u*t}/{s}}}$

\n

\n


For more help, check this video- 

\n

                                               

\n

\n

", "parts": [{"stepsPenalty": 0, "marks": 0, "prompt": "

 $\\var{a}x+\\var{b}=\\var{c}$

\n

$x=$ [[0]].

", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "type": "gapfill", "scripts": {}, "gaps": [{"marks": 1, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "minValue": "{ans1}", "type": "numberentry", "scripts": {}, "strictPrecision": false, "maxValue": "{ans1}", "precisionType": "dp", "mustBeReducedPC": 0, "allowFractions": false, "variableReplacements": [], "correctAnswerFraction": false, "correctAnswerStyle": "plain", "precision": "2", "showFeedbackIcon": true, "precisionPartialCredit": 0, "mustBeReduced": false, "precisionMessage": "You have not given your answer to the correct precision."}], "steps": [{"marks": 1, "prompt": "\n
\n

\n

Example:   5 x - 6 = 3 x - 8

\n

Subtract 3x from both sides of the equation: 2x - 6 = -8

\n

Add 6 to both sides of the equation: 2x = -2 or x= -1

\n

\n

", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "type": "extension", "scripts": {}}]}, {"stepsPenalty": 0, "marks": 0, "prompt": "

$\\var{d}-\\var{f}y=\\var{g}$

\n

$y=$ [[0]].

", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "type": "gapfill", "scripts": {}, "gaps": [{"marks": 1, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "minValue": "{ans2}", "type": "numberentry", "scripts": {}, "strictPrecision": false, "maxValue": "{ans2}", "precisionType": "dp", "mustBeReducedPC": 0, "allowFractions": false, "variableReplacements": [], "correctAnswerFraction": false, "correctAnswerStyle": "plain", "precision": "2", "showFeedbackIcon": true, "precisionPartialCredit": 0, "mustBeReduced": false, "precisionMessage": "You have not given your answer to the correct precision."}], "steps": [{"marks": 0, "prompt": "", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "type": "information", "scripts": {}}]}, {"stepsPenalty": 0, "marks": 0, "prompt": "

$\\displaystyle{\\frac{z}{\\var{h}}}-\\var{j}=\\var{k}$

\n

$z=$ [[0]]

", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "type": "gapfill", "scripts": {}, "gaps": [{"marks": 1, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "minValue": "{ans3}", "type": "numberentry", "scripts": {}, "maxValue": "{ans3}", "mustBeReducedPC": 0, "allowFractions": false, "variableReplacements": [], "correctAnswerFraction": false, "correctAnswerStyle": "plain", "showFeedbackIcon": true, "mustBeReduced": false}], "steps": [{"marks": 0, "prompt": "", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "type": "information", "scripts": {}}]}, {"stepsPenalty": 0, "marks": 0, "prompt": "

$\\displaystyle{\\frac{a-\\var{l}}{\\var{m}}}=\\var{n}$.

\n

$a=$ [[0]]

", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "type": "gapfill", "scripts": {}, "gaps": [{"marks": 1, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "minValue": "{ans4}", "type": "numberentry", "scripts": {}, "maxValue": "{ans4}", "mustBeReducedPC": 0, "allowFractions": true, "variableReplacements": [], "correctAnswerFraction": false, "correctAnswerStyle": "plain", "showFeedbackIcon": true, "mustBeReduced": false}], "steps": [{"marks": 0, "prompt": "", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "type": "information", "scripts": {}}]}, {"stepsPenalty": 0, "marks": 0, "prompt": "

$\\var{p}=\\var{q}(\\var{r}+b)$.

\n

$b=$ [[0]]

", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "type": "gapfill", "scripts": {}, "gaps": [{"marks": 1, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "minValue": "{p-r*q}/{q}", "type": "numberentry", "scripts": {}, "strictPrecision": true, "maxValue": "{p-r*q}/{q}", "precisionType": "dp", "mustBeReducedPC": 0, "allowFractions": false, "variableReplacements": [], "correctAnswerFraction": false, "correctAnswerStyle": "plain", "precision": "2", "showFeedbackIcon": true, "precisionPartialCredit": 0, "mustBeReduced": false, "precisionMessage": "You have not given your answer to the correct precision."}], "steps": [{"marks": 0, "prompt": "", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "type": "information", "scripts": {}}]}, {"stepsPenalty": 0, "marks": 0, "prompt": "

$\\displaystyle{\\frac{\\var{s}w}{\\var{t}}}=\\var{u}$.

\n

$w=$ [[0]]

", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "type": "gapfill", "scripts": {}, "gaps": [{"marks": 1, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "minValue": "{u*t}/{s}", "type": "numberentry", "scripts": {}, "strictPrecision": true, "maxValue": "{u*t}/{s}", "precisionType": "dp", "mustBeReducedPC": 0, "allowFractions": false, "variableReplacements": [], "correctAnswerFraction": false, "correctAnswerStyle": "plain", "precision": "2", "showFeedbackIcon": true, "precisionPartialCredit": 0, "mustBeReduced": false, "precisionMessage": "You have not given your answer to the correct precision."}], "steps": [{"marks": 0, "prompt": "", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "type": "information", "scripts": {}}]}], "extensions": [], "variable_groups": [], "name": "Rachel's copy of Algebra VI: Solving Linear Equations (Sarah)", "metadata": {"description": "

This exercise will help you solve equations of type ax-b = c.

\n

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "rulesets": {}, "type": "question", "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}]}]}], "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}]}