// Numbas version: exam_results_page_options {"name": "Harry's copy of Inner product of two vectors", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Harry's copy of Inner product of two vectors", "type": "question", "statement": "

You are given the vectors $\\boldsymbol{v}= \\var{vector(a,b,g)}$ and $\\boldsymbol{w} = \\var{vector(c,d,f)}$ in $\\mathbb{R}^3$.

", "variable_groups": [], "variables": {"a": {"name": "a", "templateType": "anything", "group": "Ungrouped variables", "definition": "s1*random(2..9)", "description": ""}, "c": {"name": "c", "templateType": "anything", "group": "Ungrouped variables", "definition": "s3*random(2..9)", "description": ""}, "d": {"name": "d", "templateType": "anything", "group": "Ungrouped variables", "definition": "s4*random(2..9)", "description": ""}, "s4": {"name": "s4", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": ""}, "s3": {"name": "s3", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": ""}, "inner": {"name": "inner", "templateType": "anything", "group": "Ungrouped variables", "definition": "{a*c+b*d+f*g}", "description": ""}, "s1": {"name": "s1", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": ""}, "s2": {"name": "s2", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": ""}, "s5": {"name": "s5", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": ""}, "b": {"name": "b", "templateType": "anything", "group": "Ungrouped variables", "definition": "s2*random(2..9)", "description": ""}, "g": {"name": "g", "templateType": "anything", "group": "Ungrouped variables", "definition": "s1*random(2..9)", "description": ""}, "f": {"name": "f", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..9)", "description": ""}}, "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "functions": {}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "notes": "\n \t\t

15/07/2012:

\n \t\t

Added tags.

\n \t\t

16/07/2012:

\n \t\t

Added tags.

\n \t\t

Question appears to be working correctly.

\n \t\t", "description": "

Given vectors $\\boldsymbol{v}$ and $\\boldsymbol{w}$, find their inner product.

"}, "tags": ["checked2015", "dot product", "dot product of two vectors", "inner product", "mas1602", "MAS1602", "scalar product", "three dimensional vectors", "unused", "vectors"], "parts": [{"type": "gapfill", "showCorrectAnswer": true, "prompt": "

Find $\\boldsymbol{v \\cdot w} = $ [[0]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "marks": 0, "scripts": {}, "gaps": [{"showPrecisionHint": false, "type": "numberentry", "marks": 2, "minValue": "{inner}", "allowFractions": false, "variableReplacements": [], "correctAnswerFraction": false, "maxValue": "{inner}", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "scripts": {}}]}], "ungrouped_variables": ["a", "c", "b", "d", "g", "f", "s3", "s2", "s1", "s5", "s4", "inner"], "question_groups": [{"name": "", "questions": [], "pickingStrategy": "all-ordered", "pickQuestions": 0}], "variablesTest": {"condition": "", "maxRuns": 100}, "showQuestionGroupNames": false, "advice": "

\\begin{align}
\\boldsymbol{v \\cdot w} &= \\var{vector(a,b,g)} \\boldsymbol{\\cdot} \\var{vector(c,d,f)} \\\\
&= \\simplify[]{{a}*{c}+{b}*{d}+{g}*{f}} \\\\
&= \\var{inner}
\\end{align}

", "preamble": {"css": "", "js": ""}, "contributors": [{"name": "Harry Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/976/"}]}]}], "contributors": [{"name": "Harry Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/976/"}]}