// Numbas version: exam_results_page_options {"name": "TP6", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"showFeedbackIcon": true, "prompt": "

\n

$y = $ [[0]]

", "variableReplacements": [], "sortAnswers": false, "showCorrectAnswer": true, "marks": 0, "variableReplacementStrategy": "originalfirst", "unitTests": [], "extendBaseMarkingAlgorithm": true, "scripts": {}, "customMarkingAlgorithm": "", "steps": [{"showFeedbackIcon": true, "scripts": {}, "prompt": "

It may be helpful to factor out y. For example: 

\n

\\[\\simplify{x^{{n1}}*y+{n2}*y*x - {n3}*y}=y(\\simplify{x^{{n1}} + {n2}*x - {n3}})\\]

", "showCorrectAnswer": true, "variableReplacements": [], "customMarkingAlgorithm": "", "marks": 0, "type": "information", "variableReplacementStrategy": "originalfirst", "unitTests": [], "extendBaseMarkingAlgorithm": true}], "type": "gapfill", "stepsPenalty": 0, "gaps": [{"showFeedbackIcon": true, "checkVariableNames": false, "variableReplacements": [], "showCorrectAnswer": true, "vsetRangePoints": 5, "expectedVariableNames": [], "variableReplacementStrategy": "originalfirst", "unitTests": [], "extendBaseMarkingAlgorithm": true, "failureRate": 1, "scripts": {}, "customMarkingAlgorithm": "", "showPreview": true, "vsetRange": [0, 1], "type": "jme", "answer": "{n4}/(x^{{n1}} + {n2}*x-{n3})", "marks": "5", "checkingType": "absdiff", "checkingAccuracy": 0.001}]}], "tags": [], "functions": {}, "extensions": [], "advice": "

Here, we first have to collect all terms involving $y$ on the same side. Hence, we get:

\n

\\[\\simplify{x^{{n1}}*y+{n2}*y*x - {n3}*y} = \\var{n4}\\]

\n

We then spot that $y$ appears exactly once in each term on the left, so factorise:

\n

\\[y(\\simplify{x^{{n1}} + {n2}*x - {n3}}) = \\var{n4}\\]

\n

and simple division gives the answer.

", "rulesets": {}, "ungrouped_variables": ["n1", "n2", "n3", "n4"], "statement": "

Consider the equation:

\n

\\[\\simplify{x^{{n1}}*y + {n2}*y*x} = \\simplify{{n3}*y} + \\var{n4}\\]

\n

Re-arrange this equation to make $y$ the subject.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "name": "TP6", "preamble": {"js": "", "css": ""}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Another transposition question, which requires (basic) factorisation.

\n

rebelmaths

"}, "variables": {"n1": {"definition": "random(2..6)", "group": "Ungrouped variables", "templateType": "anything", "name": "n1", "description": ""}, "n4": {"definition": "random(1..10)", "group": "Ungrouped variables", "templateType": "anything", "name": "n4", "description": ""}, "n3": {"definition": "random(-7..7 except 0 n2)", "group": "Ungrouped variables", "templateType": "anything", "name": "n3", "description": ""}, "n2": {"definition": "random(-7..7 except 0)", "group": "Ungrouped variables", "templateType": "anything", "name": "n2", "description": ""}}, "type": "question", "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Clodagh Carroll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/384/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Clodagh Carroll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/384/"}]}