// 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": [{"parts": [{"prompt": "

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

", "scripts": {}, "type": "gapfill", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "marks": 0, "gaps": [{"variableReplacements": [], "scripts": {}, "type": "numberentry", "correctAnswerFraction": false, "maxValue": "{inner}", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "marks": 2, "minValue": "{inner}", "showPrecisionHint": false, "allowFractions": false}], "showCorrectAnswer": true}], "variables": {"s4": {"definition": "random(1,-1)", "group": "Ungrouped variables", "name": "s4", "templateType": "anything", "description": ""}, "s5": {"definition": "random(1,-1)", "group": "Ungrouped variables", "name": "s5", "templateType": "anything", "description": ""}, "s3": {"definition": "random(1,-1)", "group": "Ungrouped variables", "name": "s3", "templateType": "anything", "description": ""}, "inner": {"definition": "{a*c+b*d+f*g}", "group": "Ungrouped variables", "name": "inner", "templateType": "anything", "description": ""}, "s2": {"definition": "random(1,-1)", "group": "Ungrouped variables", "name": "s2", "templateType": "anything", "description": ""}, "d": {"definition": "s4*random(2..9)", "group": "Ungrouped variables", "name": "d", "templateType": "anything", "description": ""}, "a": {"definition": "s1*random(2..9)", "group": "Ungrouped variables", "name": "a", "templateType": "anything", "description": ""}, "s1": {"definition": "random(1,-1)", "group": "Ungrouped variables", "name": "s1", "templateType": "anything", "description": ""}, "g": {"definition": "s1*random(2..9)", "group": "Ungrouped variables", "name": "g", "templateType": "anything", "description": ""}, "f": {"definition": "random(2..9)", "group": "Ungrouped variables", "name": "f", "templateType": "anything", "description": ""}, "b": {"definition": "s2*random(2..9)", "group": "Ungrouped variables", "name": "b", "templateType": "anything", "description": ""}, "c": {"definition": "s3*random(2..9)", "group": "Ungrouped variables", "name": "c", "templateType": "anything", "description": ""}}, "question_groups": [{"name": "", "pickQuestions": 0, "pickingStrategy": "all-ordered", "questions": []}], "preamble": {"css": "", "js": ""}, "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}

", "functions": {}, "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "ungrouped_variables": ["a", "c", "b", "d", "g", "f", "s3", "s2", "s1", "s5", "s4", "inner"], "tags": ["checked2015", "dot product", "dot product of two vectors", "inner product", "mas1602", "MAS1602", "scalar product", "three dimensional vectors", "unused", "vectors"], "type": "question", "metadata": {"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", "licence": "Creative Commons Attribution 4.0 International", "description": "

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

"}, "variable_groups": [], "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$.

", "variablesTest": {"condition": "", "maxRuns": 100}, "name": "Harry's copy of Inner product of two vectors", "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/"}]}