// Numbas version: exam_results_page_options {"name": "Rachel's copy of Algebra : Solving Linear Equations (basic)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "statement": "

Find $x$ in the following equations. Give your answer correct to two decimal places when the answer isn't a whole number.

", "extensions": [], "rulesets": {}, "name": "Rachel's copy of Algebra : Solving Linear Equations (basic)", "parts": [{"marks": 0, "gaps": [{"type": "numberentry", "showFeedbackIcon": true, "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "allowFractions": false, "minValue": "{c[0]}-{b[0]}", "notationStyles": ["plain", "en", "si-en"], "marks": 1, "maxValue": "{c[0]}-{b[0]}", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}}], "variableReplacementStrategy": "originalfirst", "type": "gapfill", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "prompt": "

$\\simplify{x+{b[0]}={c[0]}}$

\n

$x=$ [[0]]

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

$\\simplify{{a[1]}x={c[1]}}$

\n

$x=$ [[0]]

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

When the coefficient of $x$ is a fraction, you follow the same steps but have to consider how we divide by a fraction.

\n

For example,

\n

We start with: $\\frac{3}{4}x=6$

\n

We 'divide both sides' by the coefficient of $x$: $\\frac{\\frac{3}{4}x}{\\frac{3}{4}}=\\frac{6}{\\frac{3}{4}}$

\n

The coefficient of $x$ cancels: $x=\\frac{6}{\\frac{3}{4}}$

\n

Now, to divide $6$ by $\\frac{3}{4}$, you can also multipliy $6$ by the fraction reciprocal (flipped): $x=6\\times\\frac{4}{3}$

\n

When simplified, we're left with the final answer: $x=8$

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

$\\simplify{{a[2]}/{af}x={c[2]}}$

\n

$x=$ [[0]]

"}], "variable_groups": [], "advice": "

In part a)

\n

$\\simplify{x+{b[0]}={c[0]}}$

\n

On isolating $x$ to one side,

\n

$x= \\var{c[0]}-\\var{b[0]}$

\n

$x= \\var{d}$

\n

\n

In part b)

\n

$\\simplify{{a[1]}x={c[1]}}$

\n

Solve for $x$,

\n

$x= \\frac{\\var{c[1]}}{\\var{a[1]}}$

\n

$x= \\var{f}$

\n

\n

In part c)

\n

$\\simplify{{a[2]}/{af}x={c[2]}}$

\n

$x= \\frac{\\var{c[2]}*\\var{af}}{\\var{a[2]}}$

\n

$x= \\var{g}$

\n

\n

The video below explains how to carry out similar problems.

\n

", "tags": [], "preamble": {"css": "", "js": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "af", "b", "c", "d", "f", "g"], "variables": {"g": {"name": "g", "description": "", "definition": "precround(((c[2]*{af})/a[2]),2)", "templateType": "anything", "group": "Ungrouped variables"}, "c": {"name": "c", "description": "

constant on rhs

", "definition": "repeat(random(5..15 except 14 except 12 except 7),3)", "templateType": "anything", "group": "Ungrouped variables"}, "a": {"name": "a", "description": "

coefficient of x on lhs

", "definition": "repeat(random(3..6),3)", "templateType": "anything", "group": "Ungrouped variables"}, "b": {"name": "b", "description": "

constant on lhs

", "definition": "repeat(random(-10..10 except 0 except 1 except 2 except -1 except -2 except 6 except -6),3)", "templateType": "anything", "group": "Ungrouped variables"}, "f": {"name": "f", "description": "", "definition": "precround((c[1]/a[1]),2)", "templateType": "anything", "group": "Ungrouped variables"}, "af": {"name": "af", "description": "

coefficient denominator

", "definition": "random(2..6 except a)", "templateType": "anything", "group": "Ungrouped variables"}, "d": {"name": "d", "description": "", "definition": "c[0]-b[0]", "templateType": "anything", "group": "Ungrouped variables"}}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Basic solving of linear equations.

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