// Numbas version: exam_results_page_options {"name": "Complex number multiplication & division", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"y3": {"definition": "random(2..15#1)", "group": "Ungrouped variables", "description": "", "name": "y3", "templateType": "randrange"}, "y1": {"definition": "random(2..10#1)", "group": "Ungrouped variables", "description": "", "name": "y1", "templateType": "randrange"}, "x1": {"definition": "random(2..10#1)", "group": "Ungrouped variables", "description": "", "name": "x1", "templateType": "randrange"}, "y2": {"definition": "random(1..12#1)", "group": "Ungrouped variables", "description": "", "name": "y2", "templateType": "randrange"}, "A": {"definition": "(({x1}*{x2}-{y1}*{y2})*{x3}+({x2}*{y1}+{x1}*{y2})*{y3})/({x3}^2+{y3}^2)", "group": "Ungrouped variables", "description": "", "name": "A", "templateType": "anything"}, "B": {"definition": "(-({x1}*{x2}-{y1}*{y2})*{y3}+({x2}*{y1}+{x1}*{y2})*{x3})/({x3}^2+{y3}^2)", "group": "Ungrouped variables", "description": "", "name": "B", "templateType": "anything"}, "x3": {"definition": "random(3..8#1)", "group": "Ungrouped variables", "description": "", "name": "x3", "templateType": "randrange"}, "x2": {"definition": "random(1..9#1)", "group": "Ungrouped variables", "description": "", "name": "x2", "templateType": "randrange"}}, "ungrouped_variables": ["x1", "x2", "x3", "y1", "y2", "y3", "A", "B"], "variable_groups": [], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Complex number multiplication & division

"}, "name": "Complex number multiplication & division", "functions": {}, "advice": "

\\(\\frac{Z_1*Z_2}{Z_3}=\\frac{(\\var{x1}+\\var{y1}j)(\\var{x2}+\\var{y2}j)}{\\var{x3}+\\var{y3}j}\\)

\n

=\\(\\frac{\\simplify{{x1}*{x2}}+\\simplify{{x1}*{y2}}j+\\simplify{{y1}*{x2}}j+\\simplify{{y1}*{y2}}j^{2}}{\\var{x3}+\\var{y3}j}\\)

\n

=\\(\\frac{\\simplify{{x1}*{x2}}+\\simplify{{x1}*{y2}+{y1}*{x2}}j-\\simplify{{y1}*{y2}}}{\\var{x3}+\\var{y3}j}\\)

\n

=\\(\\frac{\\simplify{{x1}*{x2}-{y1}*{y2}}+\\simplify{{x1}*{y2}+{y1}*{x2}}j}{\\var{x3}+\\var{y3}j}\\)

\n

=\\(\\frac{\\simplify{{x1}*{x2}-{y1}*{y2}}+\\simplify{{x1}*{y2}+{y1}*{x2}}j}{\\var{x3}+\\var{y3}j}\\frac{\\var{x3}-\\var{y3}j}{\\var{x3}-\\var{y3}j}\\)

\n

=\\(\\frac{\\simplify{({x1}*{x2}-{y1}*{y2})*{x3}}-(\\simplify{({x1}*{x2}-{y1}*{y2})*{y3}}j)+(\\simplify{({x1}*{y2}+{y1}*{x2})*{x3}}j)-\\simplify{({x1}*{y2}+{y1}*{x2})*{y3}}j^{2}}{\\var{x3}^{2}+\\var{y3}^{2}}\\)

\n

=\\(\\frac{\\simplify{({x1}*{x2}-{y1}*{y2})*{x3}+({x1}*{y2}+{y1}*{x2})*{y3}}+\\simplify{({x1}*{y2}+{y1}*{x2})*{x3}-({x1}*{x2}-{y1}*{y2})*{y3}}j}{\\simplify{{x3}^{2}+{y3}^{2}}}\\)

\n

=\\(\\var{A}+\\var{B}j\\) 

", "statement": "

Given three complex numbers \\(Z_{1}=\\var{x1}+\\var{y1}j\\),    \\(Z_{2}=\\var{x2}+\\var{y2}j\\)    and   \\(Z_{3}=\\var{x3}+\\var{y3}j\\)

", "tags": [], "rulesets": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "extensions": [], "parts": [{"marks": 0, "variableReplacements": [], "type": "gapfill", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "scripts": {}, "gaps": [{"precisionMessage": "You have not given your answer to the correct precision.", "marks": 1, "variableReplacements": [], "minValue": "{A}", "showFeedbackIcon": true, "showPrecisionHint": true, "precisionType": "dp", "showCorrectAnswer": true, "allowFractions": false, "correctAnswerFraction": false, "precisionPartialCredit": 0, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "maxValue": "{A}", "scripts": {}, "strictPrecision": false, "correctAnswerStyle": "plain", "notationStyles": ["plain", "en", "si-en"], "precision": "2"}, {"precisionMessage": "You have not given your answer to the correct precision.", "marks": 1, "variableReplacements": [], "minValue": "{B}", "showFeedbackIcon": true, "showPrecisionHint": true, "precisionType": "dp", "showCorrectAnswer": true, "allowFractions": false, "correctAnswerFraction": false, "precisionPartialCredit": 0, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "maxValue": "{B}", "scripts": {}, "strictPrecision": false, "correctAnswerStyle": "plain", "notationStyles": ["plain", "en", "si-en"], "precision": "2"}], "showCorrectAnswer": true, "prompt": "

 If   \\(\\frac{Z_{1}*Z_2}{Z_3}=A+Bj\\)

\n

Input the value for \\(A\\)   [[0]]

\n

Input the value for \\(B\\)   [[1]]

"}], "preamble": {"css": "", "js": ""}, "type": "question", "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}]}]}], "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}]}