// Numbas version: exam_results_page_options {"name": "Harry's copy of Grainne's copy of Amit's copy of Arithmetics of complex numbers II", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "variables": {"e6": {"description": "", "name": "e6", "group": "Ungrouped variables", "definition": "s5*random(3..9)", "templateType": "anything"}, "s4": {"description": "", "name": "s4", "group": "Ungrouped variables", "definition": "random(1,-1)", "templateType": "anything"}, "a3": {"description": "", "name": "a3", "group": "Ungrouped variables", "definition": "s1*random(1..9)", "templateType": "anything"}, "d6": {"description": "", "name": "d6", "group": "Ungrouped variables", "definition": "s4*random(1..9)", "templateType": "anything"}, "z4": {"description": "", "name": "z4", "group": "Ungrouped variables", "definition": "s6*s2*random(1..9)+s3*s5*random(1..9)*i", "templateType": "anything"}, "a": {"description": "", "name": "a", "group": "Ungrouped variables", "definition": "s1*random(1..9)+s2*random(1..9)*i", "templateType": "anything"}, "s6": {"description": "", "name": "s6", "group": "Ungrouped variables", "definition": "random(1,-1)", "templateType": "anything"}, "s2": {"description": "", "name": "s2", "group": "Ungrouped variables", "definition": "random(1,-1)", "templateType": "anything"}, "z2": {"description": "", "name": "z2", "group": "Ungrouped variables", "definition": "s2*random(1..9)+d6*i", "templateType": "anything"}, "c3": {"description": "", "name": "c3", "group": "Ungrouped variables", "definition": "s3*random(1..9)", "templateType": "anything"}, "d3": {"description": "", "name": "d3", "group": "Ungrouped variables", "definition": "s4*random(1..9)", "templateType": "anything"}, "s1": {"description": "", "name": "s1", "group": "Ungrouped variables", "definition": "random(1,-1)", "templateType": "anything"}, "s5": {"description": "", "name": "s5", "group": "Ungrouped variables", "definition": "random(1,-1)", "templateType": "anything"}, "f6": {"description": "", "name": "f6", "group": "Ungrouped variables", "definition": "s6*random(1..9)", "templateType": "anything"}, "b3": {"description": "", "name": "b3", "group": "Ungrouped variables", "definition": "s2*random(1..9)", "templateType": "anything"}, "z1": {"description": "", "name": "z1", "group": "Ungrouped variables", "definition": "s3*random(1..9)+f6*i", "templateType": "anything"}, "s3": {"description": "", "name": "s3", "group": "Ungrouped variables", "definition": "random(1,-1)", "templateType": "anything"}, "z3": {"description": "", "name": "z3", "group": "Ungrouped variables", "definition": "s6*random(1..9)+e6*i", "templateType": "anything"}}, "statement": "

Find the following complex numbers in the form $a+bi\\;$ where $a$ and $b$ are real.

\n

Input all numbers as fractions or integers. Also do not include brackets in your answers.

", "metadata": {"notes": "

15/07/2015:

\n

Added tags.

\n

4/7/2012

\n

Added tags

\n

Same problem in Complex Numbers_2. Question a - sometimes the complex number is generated as a/(b+i*c) but sometimes the complex number is displayed as a decimal, i.e. 0.0975609756+0.1219512195i if this happens then the question is invalid. This is an issue on github.

\n

16/07/2012:

\n

Issue above resolved. Also forbid decimals and brackets. Questions cannot now be answered by simply repeating the expression.

\n

Added formal cba name mas104220122013CBA1_3 as a tag

", "description": "

Multiplication and addition of complex numbers. Four parts.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "advice": "

a)

\n

The solution is given by:

\n


$\\simplify[std]{{e6*i}}(\\simplify[std]{{a}})=\\simplify[std]{{a*e6*i}}$

\n


b)

\n

$\\simplify[std]{{a}*{z4}={a*z4}}$

\n


c)
\\[ \\begin{eqnarray*} \\simplify[std,!otherNumbers]{{a}*({a3} + {b3} * i + {c3} * i ^ 2 + {d3} * i ^ 3)}&=&\\simplify[std]{{a}*{a3 + b3 * i + c3 * i ^ 2 + d3 * i ^ 3}}\\\\ &=&\\simplify[std]{{a*(a3 + b3 * i + c3 * i ^ 2 + d3 * i ^ 3)}} \\end{eqnarray*} \\]
d)

\n

This can be calculated by using the formula twice, firstly to multiply out the first two sets of parentheses, 

\n

and then to multiply the result of that calculation by the third set of parentheses.

\n

So we obtain:
\\[ \\begin{eqnarray*} (\\var{a})(\\var{z1})(\\var{z3})&=&((\\var{a})(\\var{z1}))(\\var{z3})\\\\ &=&(\\var{a*(z1)})(\\var{z3})\\\\ &=&\\var{a*(z1)*(z3)} \\end{eqnarray*} \\]

", "variable_groups": [], "showQuestionGroupNames": false, "ungrouped_variables": ["a", "f6", "s3", "s2", "s1", "d3", "s6", "s5", "s4", "c3", "a3", "b3", "d6", "e6", "z4", "z1", "z2", "z3"], "preamble": {"js": "", "css": ""}, "tags": ["addition of complex numbers", "algebra of complex numbers", "checked2015", "complex numbers", "mas1602", "MAS1602", "multiplication of complex numbers"], "name": "Harry's copy of Grainne's copy of Amit's copy of Arithmetics of complex numbers II", "variablesTest": {"condition": "", "maxRuns": 100}, "parts": [{"variableReplacementStrategy": "originalfirst", "prompt": "

$\\var{e6*i}(\\simplify[std]{{a}})\\;=\\;$[[0]].

", "showCorrectAnswer": true, "variableReplacements": [], "gaps": [{"checkvariablenames": false, "notallowed": {"message": "

Input all numbers as fractions or integers. Also do not include brackets in your answers.

", "strings": [".", ")", "("], "partialCredit": 0, "showStrings": false}, "variableReplacements": [], "answersimplification": "std", "marks": 1, "type": "jme", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "variableReplacementStrategy": "originalfirst", "expectedvariablenames": [], "showCorrectAnswer": true, "scripts": {}, "showpreview": true, "checkingtype": "absdiff", "answer": "{a*e6*i}", "vsetrangepoints": 5}], "marks": 0, "type": "gapfill", "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "prompt": "

$(\\simplify[std]{{a}})(\\simplify[std]{{z4}})\\;=\\;$[[0]].

", "showCorrectAnswer": true, "variableReplacements": [], "gaps": [{"checkvariablenames": false, "notallowed": {"message": "

Input all numbers as fractions or integers. Also do not include brackets in your answers.

", "strings": [".", ")", "("], "partialCredit": 0, "showStrings": false}, "variableReplacements": [], "answersimplification": "std", "marks": 1, "type": "jme", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "variableReplacementStrategy": "originalfirst", "expectedvariablenames": [], "showCorrectAnswer": true, "scripts": {}, "showpreview": true, "checkingtype": "absdiff", "answer": "({a*z4})", "vsetrangepoints": 5}], "marks": 0, "type": "gapfill", "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "prompt": "

$\\simplify[std,!otherNumbers]{{a}*({a3} + {b3} * i + {c3} * i ^ 2 + {d3} * i ^ 3)}\\;=\\;$[[0]].

", "showCorrectAnswer": true, "variableReplacements": [], "gaps": [{"checkvariablenames": false, "variableReplacements": [], "notallowed": {"message": "

Input all numbers as fractions or integers. Also do not include brackets in your answers.

", "strings": [".", ")", "("], "partialCredit": 0, "showStrings": false}, "checkingtype": "absdiff", "marks": 1, "type": "jme", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "variableReplacementStrategy": "originalfirst", "expectedvariablenames": [], "showCorrectAnswer": true, "scripts": {}, "showpreview": true, "answer": "{(a3 + b3 * i + c3 * i ^ 2 + d3 * i ^ 3)*a}", "vsetrangepoints": 5}], "marks": 0, "type": "gapfill", "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "prompt": "

$(\\simplify[std]{{a}})(\\simplify[std]{ {z1}})(\\simplify[std]{ {z3}})\\;=\\;$[[0]].

", "showCorrectAnswer": true, "variableReplacements": [], "gaps": [{"checkvariablenames": false, "variableReplacements": [], "notallowed": {"message": "

Input all numbers as fractions or integers. Also do not include brackets in your answers.

", "strings": [".", ")", "("], "partialCredit": 0, "showStrings": false}, "checkingtype": "absdiff", "marks": 1, "type": "jme", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "variableReplacementStrategy": "originalfirst", "expectedvariablenames": [], "showCorrectAnswer": true, "scripts": {}, "showpreview": true, "answer": "{a*(z1)*(z3)}", "vsetrangepoints": 5}], "marks": 0, "type": "gapfill", "scripts": {}}], "question_groups": [{"questions": [], "pickingStrategy": "all-ordered", "name": "", "pickQuestions": 0}], "contributors": [{"name": "Harry Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/976/"}]}]}], "contributors": [{"name": "Harry Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/976/"}]}