// Numbas version: exam_results_page_options {"name": "i,j,k are unit vectors", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "i,j,k are unit vectors", "tags": [], "metadata": {"description": "

The letters i, j and k are used to represent the standard 3D unit vectors.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

$\\mathbf{v_1} = \\simplify{i + z*k}$.

\n

$\\mathbf{v_2} = \\simplify{{a}i + {b}j + {c}k}$.

", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": false}, "constants": [{"name": "i", "value": "vector(1,0,0)", "tex": "\\mathbf{\\hat i}"}, {"name": "j", "value": "vector(0,1,0)", "tex": "\\mathbf{\\hat j}"}, {"name": "k", "value": "vector(0,0,1)", "tex": "\\mathbf{\\hat k}"}], "variables": {"a,b,c": {"name": "a,b,c", "group": "Ungrouped variables", "definition": "shuffle(-5..5)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a,b,c"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is $\\mathbf{v}_1 + \\mathbf{v}_2$?

\n

Write your answer in terms of the unit vectors $\\var{i}$, $\\var{j}$ and $\\var{k}$.

", "answer": "{1+a}i + {b}j + ({c}+z)k", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "z", "value": ""}]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}