// Numbas version: finer_feedback_settings {"name": "Harder practice Q - roots of a cubic ", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Harder practice Q - roots of a cubic ", "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "
Using either algebraic division or the factor theorem, choose which one of these complex numbers is a root of the given equation $f(z)=0$ , and hence find all the roots.
", "advice": "", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"s1": {"name": "s1", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": "", "templateType": "anything", "can_override": false}, "tx2a2": {"name": "tx2a2", "group": "Ungrouped variables", "definition": "s4*random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "s5": {"name": "s5", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": "", "templateType": "anything", "can_override": false}, "f1": {"name": "f1", "group": "Ungrouped variables", "definition": "random(1..8)", "description": "", "templateType": "anything", "can_override": false}, "s4": {"name": "s4", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": "", "templateType": "anything", "can_override": false}, "x3b2": {"name": "x3b2", "group": "Ungrouped variables", "definition": "xs1*random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "s2": {"name": "s2", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": "", "templateType": "anything", "can_override": false}, "a1": {"name": "a1", "group": "Ungrouped variables", "definition": "s1*random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "c2": {"name": "c2", "group": "Ungrouped variables", "definition": "s6*random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "x1a1": {"name": "x1a1", "group": "Ungrouped variables", "definition": "if(tx1a1=a1,a1+1,tx1a1)", "description": "", "templateType": "anything", "can_override": false}, "x2a1": {"name": "x2a1", "group": "Ungrouped variables", "definition": "if(tx2a1=a1,a1+1,tx2a1)", "description": "", "templateType": "anything", "can_override": false}, "tx1a1": {"name": "tx1a1", "group": "Ungrouped variables", "definition": "s1*random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "z3": {"name": "z3", "group": "Ungrouped variables", "definition": "x2a1+x2b1*i", "description": "", "templateType": "anything", "can_override": false}, "x2b2": {"name": "x2b2", "group": "Ungrouped variables", "definition": "xs3*random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "xs2": {"name": "xs2", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": "", "templateType": "anything", "can_override": false}, "a2": {"name": "a2", "group": "Ungrouped variables", "definition": "s4*random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "x1a2": {"name": "x1a2", "group": "Ungrouped variables", "definition": "if(tx1a2=a2,a2+1,tx1a2)", "description": "", "templateType": "anything", "can_override": false}, "tx3a2": {"name": "tx3a2", "group": "Ungrouped variables", "definition": "s6*random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "z1": {"name": "z1", "group": "Ungrouped variables", "definition": "a1+ b1*i", "description": "", "templateType": "anything", "can_override": false}, "tx1a2": {"name": "tx1a2", "group": "Ungrouped variables", "definition": "s3*random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "tx2a1": {"name": "tx2a1", "group": "Ungrouped variables", "definition": "s3*random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "b1": {"name": "b1", "group": "Ungrouped variables", "definition": "if(abs(a1)=f1,f1+1,f1)", "description": "", "templateType": "anything", "can_override": false}, "z4": {"name": "z4", "group": "Ungrouped variables", "definition": "x3a1+x3b1*i", "description": "", "templateType": "anything", "can_override": false}, "x1b2": {"name": "x1b2", "group": "Ungrouped variables", "definition": "xs2*random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "z2": {"name": "z2", "group": "Ungrouped variables", "definition": "x1a1+x1b1*i", "description": "", "templateType": "anything", "can_override": false}, "b2": {"name": "b2", "group": "Ungrouped variables", "definition": "s5*random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "x2b1": {"name": "x2b1", "group": "Ungrouped variables", "definition": "xs2*random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "x2a2": {"name": "x2a2", "group": "Ungrouped variables", "definition": "if(tx2a2=a2,a2+1,tx2a2)", "description": "", "templateType": "anything", "can_override": false}, "x3a1": {"name": "x3a1", "group": "Ungrouped variables", "definition": "if(tx3a1=a1,a1+1,tx3a1)", "description": "", "templateType": "anything", "can_override": false}, "tx3a1": {"name": "tx3a1", "group": "Ungrouped variables", "definition": "s4*random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "c1": {"name": "c1", "group": "Ungrouped variables", "definition": "s3*random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "x3a2": {"name": "x3a2", "group": "Ungrouped variables", "definition": "if(tx3a2=a2,a2+1,tx3a2)", "description": "", "templateType": "anything", "can_override": false}, "s3": {"name": "s3", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": "", "templateType": "anything", "can_override": false}, "s6": {"name": "s6", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": "", "templateType": "anything", "can_override": false}, "xs1": {"name": "xs1", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": "", "templateType": "anything", "can_override": false}, "xs3": {"name": "xs3", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": "", "templateType": "anything", "can_override": false}, "x3b1": {"name": "x3b1", "group": "Ungrouped variables", "definition": "xs3*random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "x1b1": {"name": "x1b1", "group": "Ungrouped variables", "definition": "xs1*random(1..9)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["tx3a1", "f1", "tx3a2", "b2", "tx2a2", "x1b2", "x1b1", "b1", "tx1a1", "tx2a1", "xs2", "xs3", "xs1", "x3a1", "x3a2", "s3", "s2", "s1", "s6", "s5", "s4", "x2a1", "x2a2", "x1a2", "x1a1", "a1", "a2", "z4", "c2", "c1", "z1", "z2", "z3", "x3b1", "x3b2", "x2b1", "x2b2", "tx1a2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Given $\\displaystyle f(z) = \\simplify[std]{z ^ 3 + {( -2) * a1 -c1}*z ^ 2 + {2 * a1 * c1 + a1 ^ 2 + b1 ^ 2} * z -{c1 * (a1 ^ 2 + b1 ^ 2)}}$, one of the following complex numbers is a root $z_1$ of the equation $f(z)=0$.
\nChoose the correct value for $z_1$:[[0]]
", "gaps": [{"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": true, "displayType": "radiogroup", "displayColumns": 4, "showCellAnswerState": true, "choices": ["$\\simplify{{a1}+{b1}i}$
", "$\\simplify{{x1a1}+{x1b1}i}$
", "$\\simplify{{x2a1}+{x2b1}i}$
", "$\\simplify{{x3a1}+{x3b1}i}$
"], "matrix": ["5", 0, 0, 0], "distractors": ["", "", "", ""]}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "The remaining roots of $f(z)$ are:
\n$z_2=\\;\\;$[[0]] (enter the complex root here)
\n$z_3=\\;\\;$[[1]] (enter the real root here)
", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{a1}-{b1}i", "answerSimplification": "std", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{c1}", "answerSimplification": "std", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Shaheen Charlwood", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1809/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Shaheen Charlwood", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1809/"}]}