// Numbas version: finer_feedback_settings {"name": "Vectors: addition and subtraction of column vectors", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Vectors: addition and subtraction of column vectors", "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution-ShareAlike 4.0 International"}, "statement": "

Perform the following vector operations

", "advice": "

When performing vector addition and subtraction, you can think about breaking your vector operation into rows of operations on ordinary numbers.

\n

For example,

\n

$\\var{a2D} + \\var{b2D} = \\var{a2Daddb2D}$

\n

can be thought of as a set of two equations with the same numbers:

\n

$\\var{a1}+\\var{b1}=\\var{a1+b1}$; and

\n

$\\var{a2}+\\var{b2}=\\var{a2+b2}$.

\n

Subtraction works similarly.

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"a2D": {"name": "a2D", "group": "2D vectors", "definition": "vector(a1,a2)", "description": "

A random 2D vector

", "templateType": "anything", "can_override": false}, "b2D": {"name": "b2D", "group": "2D vectors", "definition": "vector(b1,b2)", "description": "

A random 2D vector

", "templateType": "anything", "can_override": false}, "c2D": {"name": "c2D", "group": "2D vectors", "definition": "vector(c1,c2)", "description": "

A random 2D vector larger than a2D or b2D

", "templateType": "anything", "can_override": false}, "a1": {"name": "a1", "group": "2D vectors", "definition": "random(random(-5..5 except[0,1]),random(2..5),random(2..5))", "description": "", "templateType": "anything", "can_override": false}, "a2": {"name": "a2", "group": "2D vectors", "definition": "random(random(-5..5 except[0,1]),random(2..5),random(2..5))", "description": "", "templateType": "anything", "can_override": false}, "b1": {"name": "b1", "group": "2D vectors", "definition": "random(random(-5..5 except[0,1]),random(2..5),random(2..5))", "description": "", "templateType": "anything", "can_override": false}, "b2": {"name": "b2", "group": "2D vectors", "definition": "random(random(-5..5 except[0,1]),random(2..5),random(2..5))", "description": "", "templateType": "anything", "can_override": false}, "c1": {"name": "c1", "group": "2D vectors", "definition": "random(2..15 except[0,1])", "description": "", "templateType": "anything", "can_override": false}, "c2": {"name": "c2", "group": "2D vectors", "definition": "random(2..15 except[0,1])", "description": "", "templateType": "anything", "can_override": false}, "a2Daddb2D": {"name": "a2Daddb2D", "group": "2D vectors", "definition": "vector(a1+b1,a2+b2)", "description": "", "templateType": "anything", "can_override": false}, "d1": {"name": "d1", "group": "3D vectors", "definition": "random(random(-5..5 except[0,1]),random(2..5),random(2..5))", "description": "", "templateType": "anything", "can_override": false}, "d2": {"name": "d2", "group": "3D vectors", "definition": "random(random(-5..5 except[0,1]),random(2..5),random(2..5))", "description": "", "templateType": "anything", "can_override": false}, "d3": {"name": "d3", "group": "3D vectors", "definition": "random(random(-5..5 except[0,1]),random(2..5),random(2..5))", "description": "", "templateType": "anything", "can_override": false}, "d3D": {"name": "d3D", "group": "3D vectors", "definition": "vector(d1,d2,d3)", "description": "", "templateType": "anything", "can_override": false}, "e1": {"name": "e1", "group": "3D vectors", "definition": "random(random(-5..5 except[0,1]),random(2..5),random(2..5))", "description": "", "templateType": "anything", "can_override": false}, "e2": {"name": "e2", "group": "3D vectors", "definition": "random(random(-5..5 except[0,1]),random(2..5),random(2..5))", "description": "", "templateType": "anything", "can_override": false}, "e3": {"name": "e3", "group": "3D vectors", "definition": "random(random(-5..5 except[0,1]),random(2..5),random(2..5))", "description": "", "templateType": "anything", "can_override": false}, "e3D": {"name": "e3D", "group": "3D vectors", "definition": "vector(e1,e2,e3)", "description": "", "templateType": "anything", "can_override": false}, "f1": {"name": "f1", "group": "3D vectors", "definition": "random(2..15)", "description": "", "templateType": "anything", "can_override": false}, "f2": {"name": "f2", "group": "3D vectors", "definition": "random(2..15)", "description": "", "templateType": "anything", "can_override": false}, "f3": {"name": "f3", "group": "3D vectors", "definition": "random(2..15)", "description": "", "templateType": "anything", "can_override": false}, "f3D": {"name": "f3D", "group": "3D vectors", "definition": "vector(f1,f2,f3)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "2D vectors", "variables": ["a1", "a2", "a2D", "b1", "b2", "b2D", "c1", "c2", "c2D", "a2Daddb2D"]}, {"name": "3D vectors", "variables": ["d1", "d2", "d3", "d3D", "e1", "e2", "e3", "e3D", "f1", "f2", "f3", "f3D"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{a2D}+\\var{b2D}=$[[0]]

", "gaps": [{"type": "matrix", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "correctAnswer": "vector(a1+b1,a2+b2)", "correctAnswerFractions": false, "numRows": "2", "numColumns": 1, "allowResize": false, "tolerance": 0, "markPerCell": false, "allowFractions": false, "minColumns": 1, "maxColumns": 0, "minRows": 1, "maxRows": 0, "prefilledCells": ""}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{c2D}-\\var{b2D}=$[[0]]

", "gaps": [{"type": "matrix", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "correctAnswer": "vector(c1-b1,c2-b2)", "correctAnswerFractions": false, "numRows": "2", "numColumns": "1", "allowResize": false, "tolerance": 0, "markPerCell": false, "allowFractions": false, "minColumns": 1, "maxColumns": 0, "minRows": 1, "maxRows": 0, "prefilledCells": ""}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{d3D}+\\var{e3D}=$[[0]]

", "gaps": [{"type": "matrix", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "correctAnswer": "vector(d1+e1,d2+e2,d3+e3)", "correctAnswerFractions": false, "numRows": "3", "numColumns": 1, "allowResize": false, "tolerance": 0, "markPerCell": false, "allowFractions": false, "minColumns": 1, "maxColumns": 0, "minRows": 1, "maxRows": 0, "prefilledCells": ""}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{f3D}-\\var{e3D}=$[[0]]

", "gaps": [{"type": "matrix", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "correctAnswer": "vector(f1-e1,f2-e2,f3-e3)", "correctAnswerFractions": false, "numRows": "3", "numColumns": 1, "allowResize": false, "tolerance": 0, "markPerCell": false, "allowFractions": false, "minColumns": 1, "maxColumns": 0, "minRows": 1, "maxRows": 0, "prefilledCells": ""}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Will Roberts", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/32402/"}], "resources": []}]}], "contributors": [{"name": "Will Roberts", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/32402/"}]}