// Numbas version: exam_results_page_options {"name": "Solving equations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "name": "Solving equations", "tags": ["algebra", "algebraic fractions", "algebraic manipulation", "changing the subject of an equation", "rearranging equations", "solving", "solving equations", "subject of an equation"], "advice": "

Rearrange the equation by adding {-c} to both sides to get:
\\[\\simplify{{t} / ({a} * x + {b}) = {d} + { -c} = {d -c}}\\]
This gives \\[\\simplify{({a} * x + {b}) / {t} = 1 / {d -c}}\\] (this is because if $\\displaystyle \\frac{a}{b}=c$ then $\\displaystyle \\frac{b}{a}=\\frac{1}{c}$ on turning the fraction round the other way)
and so \\[\\simplify{({a} * x + {b}) = {t} / {d -c}}\\] on multiplying both sides by {t}.
Hence \\[\\simplify{{a} * x = {t} / {d -c} -{b} = ({a * an1} / {an2})}\\]
and so \\[\\simplify{x={an1}/{an2}}\\] is the solution on dividing both sides by {a}.

", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "parts": [{"stepspenalty": 1.0, "prompt": "\n

\\[\\simplify{{t} / ({a} * x + {b}) + {c} = {d}}\\]

\n

$x=\\;$ [[0]]

\n

If you want help in solving the equation, click on Show steps. If you do so then you will lose 1 mark.

\n

Input all numbers as fractions or integers and not as decimals.

\n ", "gaps": [{"notallowed": {"message": "

Input as a fraction or an integer, not as a decimal.

", "showstrings": false, "strings": ["."], "partialcredit": 0.0}, "checkingaccuracy": 0.0001, "vsetrange": [0.0, 1.0], "vsetrangepoints": 5.0, "checkingtype": "absdiff", "answersimplification": "std", "marks": 2.0, "answer": "{an1}/{an2}", "type": "jme"}], "steps": [{"prompt": "\n

Rearrange the equation by adding {-c} to both sides to get:
\\[\\simplify[std]{{t} / ({a} * x + {b}) = {d} + { -c} = {d -c}}\\]

\n

This gives \\[\\simplify{({a} * x + {b}) / {t} = 1 / {d -c}}\\] (this is because if $\\displaystyle \\frac{a}{b}=c$ then $\\displaystyle \\frac{b}{a}=\\frac{1}{c}$ on turning the fraction round the other way)

\n

and so \\[\\simplify{({a} * x + {b}) = {t} / {d -c}}\\] on multiplying both sides by {t}.

\n

Solve this equation for $x$.

\n ", "type": "information", "marks": 0.0}], "marks": 0.0, "type": "gapfill"}], "extensions": [], "statement": "\n

Solve the following equation for $x$.

\n

Input your answer as a fraction or an integer as appropriate and not as a decimal.

\n ", "variable_groups": [], "progress": "ready", "type": "question", "variables": {"a": {"definition": "random(2..9)", "name": "a"}, "c": {"definition": "s2*random(1..9)", "name": "c"}, "b": {"definition": "if(a=abs(b1),abs(b1)+2,b1)", "name": "b"}, "d": {"definition": "abs(c)+random(2..9)", "name": "d"}, "s2": {"definition": "random(1,-1)", "name": "s2"}, "s1": {"definition": "random(-1,1)", "name": "s1"}, "t": {"definition": "random(2..8)", "name": "t"}, "an2": {"definition": "a*(d-c)", "name": "an2"}, "an1": {"definition": "t-b*d+b*c", "name": "an1"}, "b1": {"definition": "s1*random(1..10)", "name": "b1"}}, "metadata": {"notes": "\n \t\t

5/08/2012:

\n \t\t

Added tags.

\n \t\t

Added description.

\n \t\t

Checked calculation.OK.

\n \t\t

Improved display in content areas.

\n \t\t", "description": "

Solve for $x$: $\\displaystyle \\frac{a} {bx+c} + d= s$

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