// Numbas version: exam_results_page_options {"name": "PreCal Operations with Complex Numbers", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"preamble": {"js": "", "css": ""}, "extensions": [], "advice": "", "metadata": {"description": "", "licence": "All rights reserved"}, "statement": "

GIVEN:  $z_1=\\var{z1}$, $z_2=\\var{z2}$, $z_3=\\var{z3}$

\n

FIND:  Perform the following operations with the complex numbers and enter your answers to 3 decimal places.

", "ungrouped_variables": ["z1", "z2", "z3", "z1Conj", "addz1z2", "subz1z3", "prodz2z3", "quotz1z3", "comboz123", "combo2z123", "modz2", "argz2", "distz1z3", "prodz3z3star"], "rulesets": {}, "tags": [], "variablesTest": {"condition": "", "maxRuns": 100}, "variable_groups": [], "parts": [{"customMarkingAlgorithm": "", "customName": "", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "marks": 0, "variableReplacements": [], "sortAnswers": false, "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "scripts": {}, "prompt": "

$z_1^*=$[[0]]

", "showFeedbackIcon": true, "type": "gapfill", "gaps": [{"scripts": {}, "variableReplacementStrategy": "originalfirst", "failureRate": 1, "marks": 1, "valuegenerators": [], "checkingAccuracy": 0.001, "customName": "", "type": "jme", "checkVariableNames": false, "customMarkingAlgorithm": "", "checkingType": "absdiff", "adaptiveMarkingPenalty": 0, "vsetRangePoints": 5, "variableReplacements": [], "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "showPreview": true, "showFeedbackIcon": true, "answer": "{z1Conj}", "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true}], "extendBaseMarkingAlgorithm": true}, {"customMarkingAlgorithm": "", "customName": "", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "marks": 0, "variableReplacements": [], "sortAnswers": false, "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "scripts": {}, "prompt": "

$z_1+z_2=$[[0]]

", "showFeedbackIcon": true, "type": "gapfill", "gaps": [{"scripts": {}, "variableReplacementStrategy": "originalfirst", "failureRate": 1, "marks": 1, "valuegenerators": [], "checkingAccuracy": 0.001, "customName": "", "type": "jme", "checkVariableNames": false, "customMarkingAlgorithm": "", "checkingType": "absdiff", "adaptiveMarkingPenalty": 0, "vsetRangePoints": 5, "variableReplacements": [], "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "showPreview": true, "showFeedbackIcon": true, "answer": "{addz1z2}", "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true}], "extendBaseMarkingAlgorithm": true}, {"customMarkingAlgorithm": "", "customName": "", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "marks": 0, "variableReplacements": [], "sortAnswers": false, "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "scripts": {}, "prompt": "

$z_1-z_3=$[[0]]

", "showFeedbackIcon": true, "type": "gapfill", "gaps": [{"scripts": {}, "variableReplacementStrategy": "originalfirst", "failureRate": 1, "marks": 1, "valuegenerators": [], "checkingAccuracy": 0.001, "customName": "", "type": "jme", "checkVariableNames": false, "customMarkingAlgorithm": "", "checkingType": "absdiff", "adaptiveMarkingPenalty": 0, "vsetRangePoints": 5, "variableReplacements": [], "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "showPreview": true, "showFeedbackIcon": true, "answer": "{subz1z3}", "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true}], "extendBaseMarkingAlgorithm": true}, {"customMarkingAlgorithm": "", "customName": "", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "marks": 0, "variableReplacements": [], "sortAnswers": false, "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "scripts": {}, "prompt": "

$z_2 \\cdot z_3=$[[0]]

", "showFeedbackIcon": true, "type": "gapfill", "gaps": [{"scripts": {}, "variableReplacementStrategy": "originalfirst", "failureRate": 1, "marks": 1, "valuegenerators": [], "checkingAccuracy": 0.001, "customName": "", "type": "jme", "checkVariableNames": false, "customMarkingAlgorithm": "", "checkingType": "absdiff", "adaptiveMarkingPenalty": 0, "vsetRangePoints": 5, "variableReplacements": [], "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "showPreview": true, "showFeedbackIcon": true, "answer": "{prodz2z3}", "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true}], "extendBaseMarkingAlgorithm": true}, {"customMarkingAlgorithm": "", "customName": "", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "marks": 0, "variableReplacements": [], "sortAnswers": false, "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "scripts": {}, "prompt": "

$z_1 \\div z_3=$[[0]]

", "showFeedbackIcon": true, "type": "gapfill", "gaps": [{"scripts": {}, "variableReplacementStrategy": "originalfirst", "failureRate": 1, "marks": 1, "valuegenerators": [], "checkingAccuracy": 0.001, "customName": "", "type": "jme", "checkVariableNames": false, "customMarkingAlgorithm": "", "checkingType": "absdiff", "adaptiveMarkingPenalty": 0, "vsetRangePoints": 5, "variableReplacements": [], "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "showPreview": true, "showFeedbackIcon": true, "answer": "{quotz1z3}", "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true}], "extendBaseMarkingAlgorithm": true}, {"customMarkingAlgorithm": "", "customName": "", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "marks": 0, "variableReplacements": [], "sortAnswers": false, "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "scripts": {}, "prompt": "

$\\frac{(\\var{z1})(\\var{z2})}{(\\var{z3})}=$[[0]]

", "showFeedbackIcon": true, "type": "gapfill", "gaps": [{"scripts": {}, "variableReplacementStrategy": "originalfirst", "failureRate": 1, "marks": 1, "valuegenerators": [], "checkingAccuracy": 0.001, "customName": "", "type": "jme", "checkVariableNames": false, "customMarkingAlgorithm": "", "checkingType": "absdiff", "adaptiveMarkingPenalty": 0, "vsetRangePoints": 5, "variableReplacements": [], "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "showPreview": true, "showFeedbackIcon": true, "answer": "{comboz123}", "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true}], "extendBaseMarkingAlgorithm": true}, {"customMarkingAlgorithm": "", "customName": "", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "marks": 0, "variableReplacements": [], "sortAnswers": false, "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "scripts": {}, "prompt": "

$\\frac{(\\var{z3})}{(\\var{z1})(\\var{z2})}=$[[0]]

", "showFeedbackIcon": true, "type": "gapfill", "gaps": [{"scripts": {}, "variableReplacementStrategy": "originalfirst", "failureRate": 1, "marks": 1, "valuegenerators": [], "checkingAccuracy": 0.001, "customName": "", "type": "jme", "checkVariableNames": false, "customMarkingAlgorithm": "", "checkingType": "absdiff", "adaptiveMarkingPenalty": 0, "vsetRangePoints": 5, "variableReplacements": [], "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "showPreview": true, "showFeedbackIcon": true, "answer": "{combo2z123}", "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true}], "extendBaseMarkingAlgorithm": true}, {"customMarkingAlgorithm": "", "customName": "", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "marks": 0, "variableReplacements": [], "sortAnswers": false, "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "scripts": {}, "prompt": "

$|{\\var{z2}}|=$[[0]] and arg$({\\var{z2}})$=[[1]]

", "showFeedbackIcon": true, "type": "gapfill", "gaps": [{"scripts": {}, "variableReplacementStrategy": "originalfirst", "failureRate": 1, "marks": 1, "valuegenerators": [], "checkingAccuracy": 0.001, "customName": "", "type": "jme", "checkVariableNames": false, "customMarkingAlgorithm": "", "checkingType": "absdiff", "adaptiveMarkingPenalty": 0, "vsetRangePoints": 5, "variableReplacements": [], "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "showPreview": true, "showFeedbackIcon": true, "answer": "{modz2}", "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true}, {"scripts": {}, "variableReplacementStrategy": "originalfirst", "failureRate": 1, "marks": 1, "valuegenerators": [], "checkingAccuracy": 0.001, "customName": "", "type": "jme", "checkVariableNames": false, "customMarkingAlgorithm": "", "checkingType": "absdiff", "adaptiveMarkingPenalty": 0, "vsetRangePoints": 5, "variableReplacements": [], "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "showPreview": true, "showFeedbackIcon": true, "answer": "{argz2}", "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true}], "extendBaseMarkingAlgorithm": true}, {"customMarkingAlgorithm": "", "customName": "", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "marks": 0, "variableReplacements": [], "sortAnswers": false, "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "scripts": {}, "prompt": "

FInd the distance between $(\\var{z1})$ and $(\\var{z3})$:  [[0]]

", "showFeedbackIcon": true, "type": "gapfill", "gaps": [{"scripts": {}, "variableReplacementStrategy": "originalfirst", "failureRate": 1, "marks": 1, "valuegenerators": [], "checkingAccuracy": 0.001, "customName": "", "type": "jme", "checkVariableNames": false, "customMarkingAlgorithm": "", "checkingType": "absdiff", "adaptiveMarkingPenalty": 0, "vsetRangePoints": 5, "variableReplacements": [], "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "showPreview": true, "showFeedbackIcon": true, "answer": "{distz1z3}", "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true}], "extendBaseMarkingAlgorithm": true}, {"customMarkingAlgorithm": "", "customName": "", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "marks": 0, "variableReplacements": [], "sortAnswers": false, "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "scripts": {}, "prompt": "

$z_3 \\cdot z_3^*=$[[0]]

", "showFeedbackIcon": true, "type": "gapfill", "gaps": [{"correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "correctAnswerStyle": "plain", "scripts": {}, "variableReplacementStrategy": "originalfirst", "marks": 1, "mustBeReducedPC": 0, "maxValue": "prodz3z3star", "showFeedbackIcon": true, "customName": "", "type": "numberentry", "allowFractions": false, "customMarkingAlgorithm": "", "adaptiveMarkingPenalty": 0, "mustBeReduced": false, "showFractionHint": true, "useCustomName": false, "unitTests": [], "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "minValue": "prodz3z3star"}], "extendBaseMarkingAlgorithm": true}], "functions": {}, "variables": {"distz1z3": {"definition": "precround( sqrt((re(z1)-re(z3))^2+(im(z1)-im(z3))^2) ,3)", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "distz1z3"}, "z2": {"definition": "random(-10..10 except 0)+random(-10..10 except 0)i", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "z2"}, "combo2z123": {"definition": "precround(z3/(z1*z2),3)", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "combo2z123"}, "prodz3z3star": {"definition": "z3*conj(z3)", "group": "Ungrouped variables", "description": "

prodz3z3star

", "templateType": "anything", "name": "prodz3z3star"}, "subz1z3": {"definition": "z1-z3", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "subz1z3"}, "addz1z2": {"definition": "z1+z2", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "addz1z2"}, "argz2": {"definition": "precround(arg(z2),3)", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "argz2"}, "comboz123": {"definition": "precround((z1*z2)/z3,3)", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "comboz123"}, "z1": {"definition": "random(-10..10)+random(-10..10 except 0)*i", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "z1"}, "quotz1z3": {"definition": "precround(z1/z3,3)", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "quotz1z3"}, "prodz2z3": {"definition": "z2*z3", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "prodz2z3"}, "z1Conj": {"definition": "conj(z1)", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "z1Conj"}, "modz2": {"definition": "precround(abs(z2),3)", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "modz2"}, "z3": {"definition": "random(-10..10 except [0,re(z1),re(z2)])+random(-10..10 except [0,im(z1),im(z2)])i", "group": "Ungrouped variables", "description": "", "templateType": "anything", "name": "z3"}}, "name": "PreCal Operations with Complex Numbers", "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}]}]}], "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}]}