// Numbas version: finer_feedback_settings {"name": "Q11", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Q11", "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "
The value of $\\large\\simplify{({a}x^3+{b}x*y^2+{c}z^3)/((x+{d}y)(y+{f}z))}$ when $x = \\var{x}$, $y= \\var{y}$ and $z = \\var{z}$ is
", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"choices": {"name": "choices", "group": "Ungrouped variables", "definition": "//choices, apart from \"none of the above\"\n [correctAnswer,Choice1,Choice2,Choice3]", "description": "", "templateType": "anything", "can_override": false}, "noneofthesemarks": {"name": "noneofthesemarks", "group": "Ungrouped variables", "definition": "//marks to award for selecting \"none of these\"\n 0", "description": "", "templateType": "anything", "can_override": false}, "Choice1": {"name": "Choice1", "group": "Ungrouped variables", "definition": "expression('(' + (a*x^3+b*x*y^2+c*z^3) + ')/((' + (x-d*y) +')(' + (y+f*z) + '))')", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-2..2 except 0)", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..4)", "description": "", "templateType": "anything", "can_override": false}, "choicemarks": {"name": "choicemarks", "group": "Ungrouped variables", "definition": "//marks to award for each of the above choices\n [2,0,0,0]", "description": "", "templateType": "anything", "can_override": false}, "y": {"name": "y", "group": "Ungrouped variables", "definition": "random(-3..-1 except x except x/2)", "description": "", "templateType": "anything", "can_override": false}, "z": {"name": "z", "group": "Ungrouped variables", "definition": "random(1..3 except -y)", "description": "", "templateType": "anything", "can_override": false}, "shuffledchoices": {"name": "shuffledchoices", "group": "Ungrouped variables", "definition": "//the choice texts, in the shuffled order\n map(choices[j],j,order)", "description": "", "templateType": "anything", "can_override": false}, "correctAnswer": {"name": "correctAnswer", "group": "Ungrouped variables", "definition": "expression('(' + (a*x^3+b*x*y^2+c*z^3) + ')/((' + (x+d*y) +')(' + (y+f*z) + '))')", "description": "", "templateType": "anything", "can_override": false}, "x": {"name": "x", "group": "Ungrouped variables", "definition": "random(-3..-1)", "description": "", "templateType": "anything", "can_override": false}, "order": {"name": "order", "group": "Ungrouped variables", "definition": "//the order in which to display the choices - pick a random permutation of [0,1,2,3,4]\n deal(4)", "description": "", "templateType": "anything", "can_override": false}, "Choice3": {"name": "Choice3", "group": "Ungrouped variables", "definition": "expression('(' + (a*x^3+b*x*y^2-c*z^3) + ')/((' + (x+d*y) +')(' + (y+f*z) + '))')", "description": "", "templateType": "anything", "can_override": false}, "marking_matrix": {"name": "marking_matrix", "group": "Ungrouped variables", "definition": "//marks to award for each choice, then append the marks for \"none of the above\"\n map(choicemarks[j],j,order)+noneofthesemarks", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(-3..3 except 0)", "description": "", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(-2..2 except 0)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2..3)", "description": "", "templateType": "anything", "can_override": false}, "Choice2": {"name": "Choice2", "group": "Ungrouped variables", "definition": "expression('(' + (a*x^3-b*x*y^2+c*z^3) + ')/((' + (x+d*y) +')(' + (y+f*z) + '))')", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "x+d*y<>0 &\ny-f*z<>0 &\nz-f*y<>0 &\ny+f*z<>0 &\nx^3+b*x*y^2+c*z^3<>0", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "d", "f", "x", "y", "z", "correctAnswer", "Choice1", "Choice2", "Choice3", "choices", "noneofthesemarks", "choicemarks", "marking_matrix", "shuffledchoices", "order"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showBlankOption": true, "showCellAnswerState": true, "choices": ["$\\simplify{{shuffledchoices[0]}}$
", "$\\simplify{{shuffledchoices[1]}}$
", "$\\simplify{{shuffledchoices[2]}}$
", "$\\simplify{{shuffledchoices[3]}}$
", "None of these
"], "matrix": "marking_matrix"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "David Wishart", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1461/"}], "resources": []}]}], "contributors": [{"name": "David Wishart", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1461/"}]}