// Numbas version: exam_results_page_options {"name": "Luis's copy of Luis'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": [{"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*} \\]

", "preamble": {"css": "", "js": ""}, "name": "Luis's copy of Luis's copy of Arithmetics of complex numbers II", "variable_groups": [], "extensions": [], "functions": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "statement": "

Encuentre los siguientes números complejos en la forma $ a + bi \\; $ donde $ a $ y $ b $ son reales.

\n

Ingresa todos los números como fracciones o enteros. Tampoco incluya corchetes en sus respuestas.

", "parts": [{"variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "sortAnswers": false, "type": "gapfill", "customMarkingAlgorithm": "", "marks": 0, "prompt": "

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

", "variableReplacementStrategy": "originalfirst", "unitTests": [], "extendBaseMarkingAlgorithm": true, "gaps": [{"variableReplacements": [], "answerSimplification": "std", "showFeedbackIcon": true, "checkingAccuracy": 0.001, "scripts": {}, "type": "jme", "notallowed": {"showStrings": false, "message": "

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

", "partialCredit": 0, "strings": [".", ")", "("]}, "customMarkingAlgorithm": "", "marks": 1, "showCorrectAnswer": true, "vsetRangePoints": 5, "showPreview": true, "checkVariableNames": false, "checkingType": "absdiff", "variableReplacementStrategy": "originalfirst", "unitTests": [], "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true, "answer": "{a*e6*i}", "expectedVariableNames": [], "failureRate": 1}], "showCorrectAnswer": true}, {"variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "sortAnswers": false, "type": "gapfill", "customMarkingAlgorithm": "", "marks": 0, "prompt": "

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

", "variableReplacementStrategy": "originalfirst", "unitTests": [], "extendBaseMarkingAlgorithm": true, "gaps": [{"variableReplacements": [], "answerSimplification": "std", "showFeedbackIcon": true, "checkingAccuracy": 0.001, "scripts": {}, "type": "jme", "notallowed": {"showStrings": false, "message": "

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

", "partialCredit": 0, "strings": [".", ")", "("]}, "customMarkingAlgorithm": "", "marks": 1, "showCorrectAnswer": true, "vsetRangePoints": 5, "showPreview": true, "checkVariableNames": false, "checkingType": "absdiff", "variableReplacementStrategy": "originalfirst", "unitTests": [], "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true, "answer": "({a*z4})", "expectedVariableNames": [], "failureRate": 1}], "showCorrectAnswer": true}, {"variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "sortAnswers": false, "type": "gapfill", "customMarkingAlgorithm": "", "marks": 0, "prompt": "

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

", "variableReplacementStrategy": "originalfirst", "unitTests": [], "extendBaseMarkingAlgorithm": true, "gaps": [{"variableReplacements": [], "showFeedbackIcon": true, "checkingAccuracy": 0.001, "scripts": {}, "type": "jme", "notallowed": {"showStrings": false, "message": "

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

", "partialCredit": 0, "strings": [".", ")", "("]}, "customMarkingAlgorithm": "", "marks": 1, "showCorrectAnswer": true, "vsetRangePoints": 5, "showPreview": true, "checkVariableNames": false, "checkingType": "absdiff", "variableReplacementStrategy": "originalfirst", "unitTests": [], "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true, "answer": "{(a3 + b3 * i + c3 * i ^ 2 + d3 * i ^ 3)*a}", "expectedVariableNames": [], "failureRate": 1}], "showCorrectAnswer": true}, {"variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "sortAnswers": false, "type": "gapfill", "customMarkingAlgorithm": "", "marks": 0, "prompt": "

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

", "variableReplacementStrategy": "originalfirst", "unitTests": [], "extendBaseMarkingAlgorithm": true, "gaps": [{"variableReplacements": [], "showFeedbackIcon": true, "checkingAccuracy": 0.001, "scripts": {}, "type": "jme", "notallowed": {"showStrings": false, "message": "

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

", "partialCredit": 0, "strings": [".", ")", "("]}, "customMarkingAlgorithm": "", "marks": 1, "showCorrectAnswer": true, "vsetRangePoints": 5, "showPreview": true, "checkVariableNames": false, "checkingType": "absdiff", "variableReplacementStrategy": "originalfirst", "unitTests": [], "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true, "answer": "{a*(z1)*(z3)}", "expectedVariableNames": [], "failureRate": 1}], "showCorrectAnswer": true}], "ungrouped_variables": ["a", "f6", "s3", "s2", "s1", "d3", "s6", "s5", "s4", "c3", "a3", "b3", "d6", "e6", "z4", "z1", "z2", "z3"], "metadata": {"description": "

Multiplication and addition of complex numbers. Four parts.

", "licence": "Creative Commons Attribution 4.0 International"}, "tags": [], "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "variables": {"f6": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "f6", "definition": "s6*random(1..9)"}, "s5": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "s5", "definition": "random(1,-1)"}, "s3": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "s3", "definition": "random(1,-1)"}, "z3": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "z3", "definition": "s6*random(1..9)+e6*i"}, "b3": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "b3", "definition": "s2*random(1..9)"}, "c3": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "c3", "definition": "s3*random(1..9)"}, "e6": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "e6", "definition": "s5*random(3..9)"}, "s4": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "s4", "definition": "random(1,-1)"}, "z2": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "z2", "definition": "s2*random(1..9)+d6*i"}, "s6": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "s6", "definition": "random(1,-1)"}, "s1": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "s1", "definition": "random(1,-1)"}, "s2": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "s2", "definition": "random(1,-1)"}, "d6": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "d6", "definition": "s4*random(1..9)"}, "a3": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "a3", "definition": "s1*random(1..9)"}, "z1": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "z1", "definition": "s3*random(1..9)+f6*i"}, "a": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "a", "definition": "s1*random(1..9)+s2*random(1..9)*i"}, "d3": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "d3", "definition": "s4*random(1..9)"}, "z4": {"templateType": "anything", "group": "Ungrouped variables", "description": "", "name": "z4", "definition": "s6*s2*random(1..9)+s3*s5*random(1..9)*i"}}, "type": "question", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}