// Numbas version: finer_feedback_settings {"name": "Linear Equations 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "af", "b", "c"], "name": "Linear Equations 2", "tags": [], "advice": "

The video below explains how to carry out similar problems.

\n

", "rulesets": {"std": ["all", "!simplifyFractions"]}, "parts": [{"prompt": "

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

\n

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

\n

$x=$ [[0]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": true, "variableReplacements": [], "maxValue": "({c[0]}-{b[0]})/{a[0]}", "minValue": "({c[0]}-{b[0]})/{a[0]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": true, "variableReplacements": [], "maxValue": "({c[0]}-{b[0]})", "minValue": "({c[0]}-{b[0]})", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

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

\n

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

\n

$x=$ [[0]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": true, "variableReplacements": [], "maxValue": "({c[1]}*{af[1]})/{a[1]}-({b[1]}*{af[1]})/{a[1]}", "minValue": "({c[1]}*{af[1]})/{a[1]}-({b[1]}*{af[1]})/{a[1]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": true, "variableReplacements": [], "maxValue": "({b[1]}*{af[1]})", "minValue": "({b[1]}*{af[1]})", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": true, "variableReplacements": [], "maxValue": "({c[1]}*{af[1]})", "minValue": "({c[1]}*{af[1]})", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

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

\n

$x=$ [[0]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": true, "variableReplacements": [], "maxValue": "({c[2]}{af[2]}-{b[2]})/{a[2]}", "minValue": "({c[2]}{af[2]}-{b[2]})/{a[2]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": "2", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "

Evaluate $x$ in the following equations.

\n

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

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"a": {"definition": "repeat(random(2..6 except 3),3)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": "

coefficient of x on lhs

"}, "c": {"definition": "repeat(random(5..30 except 25 except 7 except 9),3)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": "

constant on rhs

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

constant on lhs

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

coefficient denominator

"}}, "metadata": {"notes": "", "description": "

Solving linear equations

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}]}]}], "contributors": [{"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}]}