// Numbas version: exam_results_page_options {"name": "Nasir's copy of Algebra : Solving Linear Equations for x", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"ungrouped_variables": ["a", "af", "b", "c", "d", "f", "g", "h"], "extensions": [], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Solving linear equations to find the value of x.

"}, "variable_groups": [], "tags": [], "functions": {}, "advice": "

In part a)

\n

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

\n

$\\simplify{{a[0]}*x}=(\\var{c[0]}-(\\var{b[0]}))$

\n

$\\simplify{{a[0]}*x}=\\var{d}$

\n

$x=\\var{f}$

\n

\n

In part b)

\n

$\\simplify[std]{({a[1]}*x/{af[1]})+{b[1]}={c[1]}}$

\n

$\\var{a[1]}x$+$(\\var{b[1]}*\\var{af[1]}) = (\\var{c[1]}*\\var{af[1]})$

\n

$x= \\var{g}$ 

\n

\n

In part c)

\n

$\\simplify{({a[2]}*x+{b[2]})/{af[2]}={c[2]}}$

\n

$x=\\frac{(\\var{c[2]}*\\var{af[2]}-\\var{b[2]})}{\\var{a[2]}}$

\n

$x= \\var{h}$

\n

\n

The video below explains how to carry out similar problems.

\n

", "statement": "

Evaluate $x$ in the following equations (Answer in two decimal places only)

\n

If you are not familiar with solving these kinds of equations, please watch this video before attempting.

", "variablesTest": {"maxRuns": 100, "condition": ""}, "parts": [{"variableReplacementStrategy": "originalfirst", "scripts": {}, "marks": 0, "type": "gapfill", "showCorrectAnswer": true, "prompt": "

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

\n

$\\simplify{{a[0]}*x}=$ [[1]]

\n

$x=$ [[0]]

", "variableReplacements": [], "gaps": [{"marks": 1, "precisionPartialCredit": 0, "variableReplacementStrategy": "originalfirst", "precisionType": "dp", "minValue": "({c[0]}-{b[0]})/{a[0]}", "variableReplacements": [], "precision": "2", "showPrecisionHint": false, "precisionMessage": "You have not given your answer to the correct precision.", "maxValue": "({c[0]}-{b[0]})/{a[0]}", "type": "numberentry", "showCorrectAnswer": true, "scripts": {}, "strictPrecision": false, "correctAnswerFraction": false, "allowFractions": false}, {"marks": 1, "precisionPartialCredit": 0, "variableReplacementStrategy": "originalfirst", "precisionType": "dp", "minValue": "({c[0]}-{b[0]})", "variableReplacements": [], "precision": "2", "showPrecisionHint": false, "precisionMessage": "You have not given your answer to the correct precision.", "maxValue": "({c[0]}-{b[0]})", "type": "numberentry", "showCorrectAnswer": true, "scripts": {}, "strictPrecision": false, "correctAnswerFraction": false, "allowFractions": false}]}, {"variableReplacementStrategy": "originalfirst", "steps": [{"variableReplacementStrategy": "originalfirst", "scripts": {}, "marks": 0, "type": "information", "showCorrectAnswer": true, "prompt": "

This question prompts one of various solution methods, namely to multiply every term on both sides of the equation by the denominator in the coefficient of $x$.

\n

For example,

\n

Take the equation:    $\\frac{7}{8}x-5=16$

\n

All terms are multiplied by the coefficient denominator:    $7x-40=128$

\n

It is then solved in the typical manner:    $7x=128+40=168$   then   $x=\\frac{168}{7}=24$

", "variableReplacements": []}], "scripts": {}, "marks": 0, "type": "gapfill", "showCorrectAnswer": true, "prompt": "

$\\simplify[std]{({a[1]}*x/{af[1]})+{b[1]}={c[1]}}$

\n

$\\var{a[1]}x+$ [[1]] $=$ [[2]]

\n

$x=$ [[0]]

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

$\\simplify{({a[2]}*x+{b[2]})/{af[2]}={c[2]}}$

\n

$x=$ [[0]]

", "variableReplacements": [], "gaps": [{"marks": "2", "precisionPartialCredit": 0, "variableReplacementStrategy": "originalfirst", "precisionType": "dp", "minValue": "({c[2]}{af[2]}-{b[2]})/{a[2]}", "variableReplacements": [], "precision": "2", "showPrecisionHint": false, "precisionMessage": "You have not given your answer to the correct precision.", "maxValue": "({c[2]}{af[2]}-{b[2]})/{a[2]}", "type": "numberentry", "showCorrectAnswer": true, "scripts": {}, "strictPrecision": false, "correctAnswerFraction": false, "allowFractions": false}]}], "preamble": {"js": "", "css": ""}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"pickQuestions": 0, "name": "", "pickingStrategy": "all-ordered", "questions": []}], "variables": {"g": {"group": "Ungrouped variables", "name": "g", "templateType": "anything", "definition": "precround((c[1]*af[1])/a[1]-(b[1]*af[1])/a[1],2)", "description": ""}, "af": {"group": "Ungrouped variables", "name": "af", "templateType": "anything", "definition": "repeat(random(3..8 except a except 3),3)", "description": "

coefficient denominator

"}, "d": {"group": "Ungrouped variables", "name": "d", "templateType": "anything", "definition": "precround((c[0]-b[0]),2)", "description": ""}, "f": {"group": "Ungrouped variables", "name": "f", "templateType": "anything", "definition": "precround((c[0]-b[0])/a[0],2)", "description": ""}, "c": {"group": "Ungrouped variables", "name": "c", "templateType": "anything", "definition": "repeat(random(5..30 except 25 except 7 except 9),3)", "description": "

constant on rhs

"}, "b": {"group": "Ungrouped variables", "name": "b", "templateType": "anything", "definition": "repeat(random(-10..10 except 0 except 1 except 2 except -1 except -2 except 4),3)", "description": "

constant on lhs

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

coefficient of x on lhs

"}, "h": {"group": "Ungrouped variables", "name": "h", "templateType": "anything", "definition": "precround((c[2]*af[2]-b[2])/a[2],2)", "description": ""}}, "name": "Nasir's copy of Algebra : Solving Linear Equations for x", "rulesets": {"std": ["all", "!simplifyFractions"]}, "contributors": [{"name": "Nasir Firoz Khan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/909/"}]}]}], "contributors": [{"name": "Nasir Firoz Khan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/909/"}]}