// Numbas version: exam_results_page_options {"name": "Maria's copy of Katy's copy of Complex number arithmetic: add and subtract", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "extensions": [], "variable_groups": [], "advice": "

\\[z_1+z_2=(\\var{z1})+(\\var{z2})=\\simplify{{z1}+{z2}}\\]

\n

\\[z_1-z_2=(\\var{z1})-(\\var{z2})=\\simplify{{z1}-{z2}}\\]

\n

\\[z_1z_3=(\\var{z1})(\\var{z3})=\\var{z1z3}\\]

\n

\\[\\frac{z_3}{z_4}=\\frac{\\var{z3}}{\\var{z4}}=\\frac{(\\var{z3})(\\var{z4bar})}{(\\var{z4})(\\var{z4bar})}=\\simplify{{z3z4bar}/{modz4sq}}\\approx \\var{re_z3onz4}+\\var{im_z3onz4}\\]

", "metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": "

This question provides practice at adding, subtracting, dividing and multiplying complex numbers in rectangular form.

"}, "variablesTest": {"condition": "", "maxRuns": 100}, "variables": {"z3": {"templateType": "anything", "description": "", "name": "z3", "group": "Ungrouped variables", "definition": "random(-10..10)+random(-10..10)i"}, "z1": {"templateType": "anything", "description": "", "name": "z1", "group": "Ungrouped variables", "definition": "random(-10..10)+random(-10..10)i"}, "z2": {"templateType": "anything", "description": "", "name": "z2", "group": "Ungrouped variables", "definition": "random(-10..10)+random(-10..10)i"}, "z4": {"templateType": "anything", "description": "", "name": "z4", "group": "Ungrouped variables", "definition": "random(-10..10)+random(-10..10)i"}}, "preamble": {"css": "", "js": ""}, "tags": [], "rulesets": {}, "parts": [{"notallowed": {"message": "

No brackets are required or allowed.

", "partialCredit": 0, "showStrings": false, "strings": ["(", ")"]}, "showFeedbackIcon": true, "unitTests": [], "marks": "1", "scripts": {}, "vsetRange": [0, 1], "prompt": "

$a+b=$

", "type": "jme", "showPreview": false, "answer": "{z1+z2}", "vsetRangePoints": 5, "expectedVariableNames": [], "checkingType": "absdiff", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "checkVariableNames": false, "failureRate": 1, "customMarkingAlgorithm": "", "checkingAccuracy": 0.001, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true}, {"notallowed": {"message": "

No brackets are required or allowed.

", "partialCredit": 0, "showStrings": false, "strings": ["(", ")"]}, "showFeedbackIcon": true, "unitTests": [], "marks": 1, "scripts": {}, "vsetRange": [0, 1], "prompt": "

$a+c=$

", "type": "jme", "showPreview": false, "answer": "{z1+z3}", "vsetRangePoints": 5, "expectedVariableNames": [], "checkingType": "absdiff", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "checkVariableNames": false, "failureRate": 1, "customMarkingAlgorithm": "", "checkingAccuracy": 0.001, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true}, {"notallowed": {"message": "

No brackets are required or allowed.

", "partialCredit": 0, "showStrings": false, "strings": ["(", ")"]}, "showFeedbackIcon": true, "unitTests": [], "marks": 1, "scripts": {}, "vsetRange": [0, 1], "prompt": "

$a+d=$

", "type": "jme", "showPreview": false, "answer": "{z1+z4}", "vsetRangePoints": 5, "expectedVariableNames": [], "checkingType": "absdiff", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "checkVariableNames": false, "failureRate": 1, "customMarkingAlgorithm": "", "checkingAccuracy": 0.001, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true}], "statement": "

Given the complex numbers

\n

\\[a=\\var{z1},\\quad b=\\var{z2},\\quad c=\\var{z3},\\quad d=\\var{z4},\\]

\n

calculate the following. Enter your answers in the form

\n

\\[x+iy\\]

", "ungrouped_variables": ["z1", "z2", "z3", "z4"], "name": "Maria's copy of Katy's copy of Complex number arithmetic: add and subtract", "type": "question", "contributors": [{"name": "Martin Jones", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/145/"}, {"name": "Katy Dobson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/854/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}]}]}], "contributors": [{"name": "Martin Jones", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/145/"}, {"name": "Katy Dobson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/854/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}]}