// Numbas version: exam_results_page_options {"name": "Show a vector in terms of the standard unit vectors", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Show a vector in terms of the standard unit vectors", "tags": [], "metadata": {"description": "

This shows how to use variable name annotations inside \\simplify to display a 3D vector in terms of the standard unit vectors $\\boldsymbol{i}$, $\\boldsymbol{j}$, $\\boldsymbol{k}$

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

$\\simplify{ {v} = {v[0]}*v:i + {v[1]}*v:j + {v[2]}*v:k }$

", "advice": "", "rulesets": {}, "extensions": [], "variables": {"v": {"name": "v", "group": "Ungrouped variables", "definition": "vector(repeat(random(0..3),3))", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["v"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [], "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/"}]}