// Numbas version: exam_results_page_options {"name": "Argand Diagram", "extensions": ["jsxgraph"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"statement": "

\n

Plot the following complex numbers on the Argand diagram below.

\n

{dragpoints()}

Drag points on a graph to the given Cartesian coordinates. There are points in each of the four quadrants and on each axis.

\n

\$A=\\var{a1}+\\var{a2}i\$.

", "showFeedbackIcon": true, "marks": 0, "variableReplacements": [], "variableReplacementStrategy": "originalfirst"}, {"type": "gapfill", "scripts": {"mark": {"order": "after", "script": "console.log(this.question.points);\nthis.question.points.b.setAttribute({fillColor: this.credit==1 ? 'green' : 'red'});\n"}}, "showCorrectAnswer": true, "gaps": [{"scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "variableReplacements": [], "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{b1}", "correctAnswerStyle": "plain", "allowFractions": false, "showFeedbackIcon": true, "minValue": "{b1}", "variableReplacementStrategy": "originalfirst"}, {"scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "variableReplacements": [], "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{b2}", "correctAnswerStyle": "plain", "allowFractions": false, "showFeedbackIcon": true, "minValue": "{b2}", "variableReplacementStrategy": "originalfirst"}], "prompt": "

\$B = \\var{b1}+\\var{b2}i\$.

\n

", "showFeedbackIcon": true, "marks": 0, "variableReplacements": [], "variableReplacementStrategy": "originalfirst"}, {"type": "gapfill", "scripts": {"mark": {"order": "after", "script": "console.log(this.question.points);\nthis.question.points.c.setAttribute({fillColor: this.credit==1 ? 'green' : 'red'});\n"}}, "showCorrectAnswer": true, "gaps": [{"scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "variableReplacements": [], "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{c1}", "correctAnswerStyle": "plain", "allowFractions": false, "showFeedbackIcon": true, "minValue": "{c1}", "variableReplacementStrategy": "originalfirst"}, {"scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "variableReplacements": [], "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{c2}", "correctAnswerStyle": "plain", "allowFractions": false, "showFeedbackIcon": true, "minValue": "{c2}", "variableReplacementStrategy": "originalfirst"}], "prompt": "

\$C =\\var{c1}+\\var{c2}i\$.

\n

", "showFeedbackIcon": true, "marks": 0, "variableReplacements": [], "variableReplacementStrategy": "originalfirst"}, {"type": "gapfill", "scripts": {"mark": {"order": "after", "script": "console.log(this.question.points);\nthis.question.points.d.setAttribute({fillColor: this.credit==1 ? 'green' : 'red'});\n"}}, "showCorrectAnswer": true, "gaps": [{"scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "variableReplacements": [], "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{d1}", "correctAnswerStyle": "plain", "allowFractions": false, "showFeedbackIcon": true, "minValue": "{d1}", "variableReplacementStrategy": "originalfirst"}, {"scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "variableReplacements": [], "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{d2}", "correctAnswerStyle": "plain", "allowFractions": false, "showFeedbackIcon": true, "minValue": "{d2}", "variableReplacementStrategy": "originalfirst"}], "prompt": "

\$D=\\var{d1}+\\var{d2}i\$.

\n

", "showFeedbackIcon": true, "marks": 0, "variableReplacements": [], "variableReplacementStrategy": "originalfirst"}, {"type": "gapfill", "scripts": {"mark": {"order": "after", "script": "console.log(this.question.points);\nthis.question.points.e.setAttribute({fillColor: this.credit==1 ? 'green' : 'red'});"}}, "showCorrectAnswer": true, "gaps": [{"scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "variableReplacements": [], "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{e1}", "correctAnswerStyle": "plain", "allowFractions": false, "showFeedbackIcon": true, "minValue": "{e1}", "variableReplacementStrategy": "originalfirst"}, {"scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "variableReplacements": [], "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{e2}", "correctAnswerStyle": "plain", "allowFractions": false, "showFeedbackIcon": true, "minValue": "{e2}", "variableReplacementStrategy": "originalfirst"}], "prompt": "

\$E=\\var{e1}+\\var{e2}i\$.

", "showFeedbackIcon": true, "marks": 0, "variableReplacements": [], "variableReplacementStrategy": "originalfirst"}, {"type": "gapfill", "scripts": {"mark": {"order": "after", "script": "console.log(this.question.points);\nthis.question.points.f.setAttribute({fillColor: this.credit==1 ? 'green' : 'red'});"}}, "showCorrectAnswer": true, "gaps": [{"scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "variableReplacements": [], "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{f1}", "correctAnswerStyle": "plain", "allowFractions": false, "showFeedbackIcon": true, "minValue": "{f1}", "variableReplacementStrategy": "originalfirst"}, {"scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "variableReplacements": [], "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "maxValue": "{f2}", "correctAnswerStyle": "plain", "allowFractions": false, "showFeedbackIcon": true, "minValue": "{f2}", "variableReplacementStrategy": "originalfirst"}], "prompt": "

\$F=\\var{f1}+\\var{f2}i\$.

\n

", "showFeedbackIcon": true, "marks": 0, "variableReplacements": [], "variableReplacementStrategy": "originalfirst"}], "advice": "", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "ungrouped_variables": ["x", "y", "a1", "a2", "b1", "b2", "c1", "c2", "d1", "d2", "e1", "e2", "e3", "f1", "f2"], "type": "question", "contributors": [{"name": "Matthew Mears", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1688/"}]}]}], "contributors": [{"name": "Matthew Mears", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1688/"}]}