// Numbas version: finer_feedback_settings {"name": "Vector arithmetic", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"s2": {"group": "Ungrouped variables", "definition": "random(1,-1)", "templateType": "anything", "name": "s2", "description": ""}, "k2": {"group": "Ungrouped variables", "definition": "random(2..5)", "templateType": "anything", "name": "k2", "description": ""}, "f": {"group": "Ungrouped variables", "definition": "random(2..9)", "templateType": "anything", "name": "f", "description": ""}, "c": {"group": "Ungrouped variables", "definition": "s3*random(2..9)", "templateType": "anything", "name": "c", "description": ""}, "result3": {"group": "Ungrouped variables", "definition": "vector(k1*a-k2*d,k1*b-k2*f,k1*c-k2*g)", "templateType": "anything", "name": "result3", "description": ""}, "s3": {"group": "Ungrouped variables", "definition": "random(1,-1)", "templateType": "anything", "name": "s3", "description": ""}, "result2": {"group": "Ungrouped variables", "definition": "dot(vector(a,b,c),vector(d,f,g))", "templateType": "anything", "name": "result2", "description": ""}, "d": {"group": "Ungrouped variables", "definition": "s4*random(2..9)", "templateType": "anything", "name": "d", "description": ""}, "s5": {"group": "Ungrouped variables", "definition": "random(1,-1)", "templateType": "anything", "name": "s5", "description": ""}, "s1": {"group": "Ungrouped variables", "definition": "random(1,-1)", "templateType": "anything", "name": "s1", "description": ""}, "k1": {"group": "Ungrouped variables", "definition": "random(2..5)", "templateType": "anything", "name": "k1", "description": ""}, "b": {"group": "Ungrouped variables", "definition": "s2*random(2..9)", "templateType": "anything", "name": "b", "description": ""}, "a": {"group": "Ungrouped variables", "definition": "s1*random(2..9)", "templateType": "anything", "name": "a", "description": ""}, "g": {"group": "Ungrouped variables", "definition": "s1*random(2..9)", "templateType": "anything", "name": "g", "description": ""}, "result1": {"group": "Ungrouped variables", "definition": "vector(a+d,b+f,c+g)", "templateType": "anything", "name": "result1", "description": ""}, "s4": {"group": "Ungrouped variables", "definition": "random(1,-1)", "templateType": "anything", "name": "s4", "description": ""}}, "variable_groups": [], "extensions": [], "functions": {}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "result1", "s1", "s2", "s3", "s4", "s5", "result2", "k1", "k2", "result3"], "parts": [{"scripts": {}, "type": "gapfill", "variableReplacementStrategy": "originalfirst", "gaps": [{"showCorrectAnswer": true, "tolerance": 0, "correctAnswerFractions": false, "variableReplacementStrategy": "originalfirst", "numRows": "3", "variableReplacements": [], "showFeedbackIcon": true, "markPerCell": false, "scripts": {}, "correctAnswer": "result1", "type": "matrix", "numColumns": 1, "marks": "2", "allowResize": false, "allowFractions": false}], "prompt": "

Find $\\boldsymbol{a} + \\boldsymbol{b} = $ [[0]]

", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": []}, {"scripts": {}, "type": "gapfill", "variableReplacementStrategy": "originalfirst", "gaps": [{"showCorrectAnswer": true, "tolerance": 0, "correctAnswerFractions": false, "variableReplacementStrategy": "originalfirst", "numRows": "3", "variableReplacements": [], "showFeedbackIcon": true, "markPerCell": false, "scripts": {}, "correctAnswer": "{result3}", "type": "matrix", "numColumns": 1, "marks": "2", "allowResize": false, "allowFractions": false}], "prompt": "

Find $\\var{k1}\\boldsymbol{a} - \\var{k2}\\boldsymbol{b} = $ [[0]]

", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": []}, {"scripts": {}, "type": "gapfill", "variableReplacementStrategy": "originalfirst", "gaps": [{"correctAnswerStyle": "plain", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "maxValue": "{result2}", "showFeedbackIcon": true, "variableReplacements": [], "scripts": {}, "type": "numberentry", "minValue": "{result2}", "mustBeReduced": false, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": "2", "allowFractions": false}], "prompt": "

Find $\\boldsymbol{a}\\cdot\\boldsymbol{b} = $ [[0]]

", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": []}], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "tags": [], "name": "Vector arithmetic", "preamble": {"css": "", "js": ""}, "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "advice": "", "statement": "

You are given the vectors $\\boldsymbol{a} = \\var{vector(a,b,c)}$, $\\boldsymbol{b} = \\var{vector(d,f,g)}$.

", "type": "question", "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}]}]}], "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}]}