// Numbas version: exam_results_page_options {"name": "Harder transposition [L1]", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "name": "Harder transposition [L1]", "statement": "", "preamble": {"js": "", "css": ""}, "tags": ["L1", "l1"], "variables": {"n1": {"templateType": "anything", "group": "Ungrouped variables", "name": "n1", "description": "", "definition": "random(2..6)"}, "n2": {"templateType": "anything", "group": "Ungrouped variables", "name": "n2", "description": "", "definition": "random(-7..7 except 0)"}, "n3": {"templateType": "anything", "group": "Ungrouped variables", "name": "n3", "description": "", "definition": "random(-7..7 except 0 n2)"}, "n4": {"templateType": "anything", "group": "Ungrouped variables", "name": "n4", "description": "", "definition": "random(1..10)"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

 Simple transposition question

\n

"}, "variable_groups": [], "functions": {}, "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.

", "parts": [{"type": "gapfill", "unitTests": [], "scripts": {}, "extendBaseMarkingAlgorithm": true, "steps": [{"type": "information", "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}})\\]

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

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:

\n

$y = $[[0]]

", "gaps": [{"showFeedbackIcon": true, "answer": "{n4}/(x^{{n1}} + {n2}*x-{n3})", "type": "jme", "variableReplacements": [], "checkingType": "absdiff", "extendBaseMarkingAlgorithm": true, "failureRate": 1, "checkingAccuracy": 0.001, "unitTests": [], "vsetRange": [0, 1], "scripts": {}, "showPreview": true, "marks": "5", "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "vsetRangePoints": 5, "expectedVariableNames": [], "showCorrectAnswer": true, "customMarkingAlgorithm": ""}], "variableReplacements": [], "stepsPenalty": 0, "sortAnswers": false, "marks": 0, "showCorrectAnswer": true, "customMarkingAlgorithm": ""}], "ungrouped_variables": ["n1", "n2", "n3", "n4"], "rulesets": {}, "type": "question", "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Abbi Mullins", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2466/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Abbi Mullins", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2466/"}]}