// Numbas version: exam_results_page_options {"name": "Transposing formula", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"preamble": {"js": "", "css": ""}, "advice": "", "tags": [], "parts": [{"unitTests": [], "showFeedbackIcon": true, "useCustomName": false, "showCorrectAnswer": true, "sortAnswers": false, "extendBaseMarkingAlgorithm": true, "scripts": {}, "gaps": [{"checkingType": "absdiff", "useCustomName": false, "variableReplacements": [], "vsetRangePoints": 5, "answerSimplification": "std", "variableReplacementStrategy": "originalfirst", "customName": "", "vsetRange": [0, 1], "answer": "({c} - {b}x)/({a} - {d}x)", "marks": "5", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showFeedbackIcon": true, "checkVariableNames": false, "failureRate": 1, "checkingAccuracy": 0.001, "valuegenerators": [{"name": "x", "value": ""}], "showPreview": true, "showCorrectAnswer": true, "scripts": {}, "type": "jme", "customMarkingAlgorithm": ""}], "prompt": "

$\\simplify[std]{{a}y + {b}x = {c} + {d}xy}\\;$

\n

$y =$ [[0]]

\n

You can click on \"Show steps\" for more information, but you will lose one mark if you do so.

", "customName": "", "steps": [{"unitTests": [], "showFeedbackIcon": true, "useCustomName": false, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "scripts": {}, "prompt": "

To re-arrange $ay + bx = c + dxy$ we should first collect all of the terms involving $y$ to the one side

\n

$ay - dxy = c - bx$

\n

we should then factorize out $y$ to find

\n

$y(a-dx) = c - bx$

\n

and then divide by $a-dx$ to get $y$ on its own

\n

$y = \\frac{c - bx}{a - dx}$

", "customName": "", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "marks": 0, "type": "information", "customMarkingAlgorithm": ""}], "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "marks": 0, "type": "gapfill", "customMarkingAlgorithm": "", "stepsPenalty": 1}], "metadata": {"description": "

Another transposition question.

\n

rebalmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Rearrange the following equation to make $y$ the subject. 

", "extensions": [], "name": "Transposing formula", "variablesTest": {"maxRuns": 100, "condition": ""}, "ungrouped_variables": ["a", "c", "b", "d"], "rulesets": {"std": ["all", "!noLeadingMinus", "!collectNumbers"]}, "variables": {"a": {"group": "Ungrouped variables", "name": "a", "templateType": "anything", "definition": "random(-10..10 except 0)", "description": ""}, "b": {"group": "Ungrouped variables", "name": "b", "templateType": "anything", "definition": "random(-10..10)", "description": ""}, "c": {"group": "Ungrouped variables", "name": "c", "templateType": "anything", "definition": "random(-10..10)", "description": ""}, "d": {"group": "Ungrouped variables", "name": "d", "templateType": "anything", "definition": "random(-10..10)", "description": ""}}, "functions": {}, "variable_groups": [], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "David Goulding", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2365/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "David Goulding", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2365/"}]}