// Numbas version: finer_feedback_settings {"name": "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": [{"variables": {"c3": {"name": "c3", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "s3*random(1..9)"}, "a3": {"name": "a3", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "s1*random(1..9)"}, "z3": {"name": "z3", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "s6*random(1..9)+e6*i"}, "a": {"name": "a", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "s1*random(1..9)+s2*random(1..9)*i"}, "s3": {"name": "s3", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(1,-1)"}, "z1": {"name": "z1", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "s3*random(1..9)+f6*i"}, "s5": {"name": "s5", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(1,-1)"}, "z4": {"name": "z4", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "s6*s2*random(1..9)+s3*s5*random(1..9)*i"}, "s2": {"name": "s2", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(1,-1)"}, "d3": {"name": "d3", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "s4*random(1..9)"}, "b3": {"name": "b3", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "s2*random(1..9)"}, "z2": {"name": "z2", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "s2*random(1..9)+d6*i"}, "s6": {"name": "s6", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(1,-1)"}, "e6": {"name": "e6", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "s5*random(3..9)"}, "f6": {"name": "f6", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "s6*random(1..9)"}, "s1": {"name": "s1", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(1,-1)"}, "d6": {"name": "d6", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "s4*random(1..9)"}, "s4": {"name": "s4", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(1,-1)"}}, "name": "Grainne's copy of Amit's copy of Arithmetics of complex numbers II", "tags": ["addition of complex numbers", "algebra of complex numbers", "checked2015", "complex numbers", "mas1602", "MAS1602", "multiplication of complex numbers"], "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "questions": [], "pickQuestions": 0}], "type": "question", "metadata": {"notes": "
15/07/2015:
\nAdded tags.
\n4/7/2012
\nAdded tags
\nSame 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.
16/07/2012:
Issue above resolved. Also forbid decimals and brackets. Questions cannot now be answered by simply repeating the expression.
\nAdded formal cba name mas104220122013CBA1_3 as a tag
", "description": "Multiplication and addition of complex numbers. Four parts.
", "licence": "Creative Commons Attribution 4.0 International"}, "ungrouped_variables": ["a", "f6", "s3", "s2", "s1", "d3", "s6", "s5", "s4", "c3", "a3", "b3", "d6", "e6", "z4", "z1", "z2", "z3"], "preamble": {"js": "", "css": ""}, "showQuestionGroupNames": false, "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "functions": {}, "advice": "a)
\nThe solution is given by:
\n
$\\simplify[std]{{e6*i}}(\\simplify[std]{{a}})=\\simplify[std]{{a*e6*i}}$
b)
$\\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)
This can be calculated by using the formula twice, firstly to multiply out the first two sets of parentheses,
\nand then to multiply the result of that calculation by the third set of parentheses.
\nSo 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*} \\]
$\\var{e6*i}(\\simplify[std]{{a}})\\;=\\;$[[0]].
", "gaps": [{"variableReplacements": [], "showCorrectAnswer": true, "notallowed": {"message": "Input all numbers as fractions or integers. Also do not include brackets in your answers.
", "showStrings": false, "strings": [".", ")", "("], "partialCredit": 0}, "checkingtype": "absdiff", "checkingaccuracy": 0.001, "showpreview": true, "answer": "{a*e6*i}", "answersimplification": "std", "vsetrangepoints": 5, "scripts": {}, "expectedvariablenames": [], "marks": 1, "vsetrange": [0, 1], "checkvariablenames": false, "variableReplacementStrategy": "originalfirst", "type": "jme"}], "variableReplacementStrategy": "originalfirst", "marks": 0}, {"scripts": {}, "showCorrectAnswer": true, "type": "gapfill", "variableReplacements": [], "prompt": "$(\\simplify[std]{{a}})(\\simplify[std]{{z4}})\\;=\\;$[[0]].
", "gaps": [{"variableReplacements": [], "showCorrectAnswer": true, "notallowed": {"message": "Input all numbers as fractions or integers. Also do not include brackets in your answers.
", "showStrings": false, "strings": [".", ")", "("], "partialCredit": 0}, "checkingtype": "absdiff", "checkingaccuracy": 0.001, "showpreview": true, "answer": "({a*z4})", "answersimplification": "std", "vsetrangepoints": 5, "scripts": {}, "expectedvariablenames": [], "marks": 1, "vsetrange": [0, 1], "checkvariablenames": false, "variableReplacementStrategy": "originalfirst", "type": "jme"}], "variableReplacementStrategy": "originalfirst", "marks": 0}, {"scripts": {}, "showCorrectAnswer": true, "type": "gapfill", "variableReplacements": [], "prompt": "$\\simplify[std,!otherNumbers]{{a}*({a3} + {b3} * i + {c3} * i ^ 2 + {d3} * i ^ 3)}\\;=\\;$[[0]].
", "gaps": [{"variableReplacements": [], "showCorrectAnswer": true, "notallowed": {"message": "Input all numbers as fractions or integers. Also do not include brackets in your answers.
", "showStrings": false, "strings": [".", ")", "("], "partialCredit": 0}, "checkingtype": "absdiff", "checkingaccuracy": 0.001, "showpreview": true, "answer": "{(a3 + b3 * i + c3 * i ^ 2 + d3 * i ^ 3)*a}", "marks": 1, "vsetrangepoints": 5, "scripts": {}, "expectedvariablenames": [], "vsetrange": [0, 1], "checkvariablenames": false, "variableReplacementStrategy": "originalfirst", "type": "jme"}], "variableReplacementStrategy": "originalfirst", "marks": 0}, {"scripts": {}, "showCorrectAnswer": true, "type": "gapfill", "variableReplacements": [], "prompt": "$(\\simplify[std]{{a}})(\\simplify[std]{ {z1}})(\\simplify[std]{ {z3}})\\;=\\;$[[0]].
", "gaps": [{"variableReplacements": [], "showCorrectAnswer": true, "notallowed": {"message": "Input all numbers as fractions or integers. Also do not include brackets in your answers.
", "showStrings": false, "strings": [".", ")", "("], "partialCredit": 0}, "checkingtype": "absdiff", "checkingaccuracy": 0.001, "showpreview": true, "answer": "{a*(z1)*(z3)}", "marks": 1, "vsetrangepoints": 5, "scripts": {}, "expectedvariablenames": [], "vsetrange": [0, 1], "checkvariablenames": false, "variableReplacementStrategy": "originalfirst", "type": "jme"}], "variableReplacementStrategy": "originalfirst", "marks": 0}], "variablesTest": {"maxRuns": 100, "condition": ""}, "statement": "Find the following complex numbers in the form $a+bi\\;$ where $a$ and $b$ are real.
\nInput all numbers as fractions or integers. Also do not include brackets in your answers.
", "variable_groups": [], "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/"}]}