// Numbas version: exam_results_page_options {"name": " Vector cross product examples", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": " Vector cross product examples", "statement": "", "variablesTest": {"maxRuns": 100, "condition": ""}, "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "extensions": [], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "preamble": {"css": "", "js": ""}, "advice": "", "variable_groups": [], "variables": {"gg": {"name": "gg", "definition": "random(2..9)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "c": {"name": "c", "definition": "s3*random(2..9)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "f": {"name": "f", "definition": "random(2..9)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "result": {"name": "result", "definition": "cross(vector(a,b,g),vector(c,d,f))", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "s4": {"name": "s4", "definition": "random(1,-1)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "dd": {"name": "dd", "definition": "random(2..9)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "ff": {"name": "ff", "definition": "random(2..9)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "d": {"name": "d", "definition": "s4*random(2..9)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "s1": {"name": "s1", "definition": "random(1,-1)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "s3": {"name": "s3", "definition": "random(1,-1)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "cc": {"name": "cc", "definition": "random(2..9)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "unitv": {"name": "unitv", "definition": "precround(sqrt(({bb}*{ff}-{cc}*{ee})^2+({cc}*{dd}+{aa}*{ff})^2+({aa}*-{ee}-{bb}*{dd})^2),2)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "s2": {"name": "s2", "definition": "random(1,-1)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "aa": {"name": "aa", "definition": "random(2..9)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "s5": {"name": "s5", "definition": "random(1,-1)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "bb": {"name": "bb", "definition": "random(2..9)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "a": {"name": "a", "definition": "s1*random(2..9)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "ee": {"name": "ee", "definition": "random(2..9)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "b": {"name": "b", "definition": "s2*random(2..9)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "g": {"name": "g", "definition": "s1*random(2..9)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}}, "tags": [], "functions": {}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "result", "s1", "s2", "s3", "s4", "s5", "ee", "dd", "ff", "gg", "aa", "bb", "cc", "unitv"], "parts": [{"showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "variableReplacements": [], "marks": 0, "gaps": [{"allowFractions": false, "variableReplacements": [], "correctAnswer": "result", "correctAnswerFractions": false, "showCorrectAnswer": true, "marks": "3", "numRows": "3", "numColumns": 1, "showFeedbackIcon": true, "markPerCell": false, "type": "matrix", "tolerance": 0, "scripts": {}, "allowResize": false, "variableReplacementStrategy": "originalfirst"}], "showCorrectAnswer": true, "prompt": "

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

\n

Find

\n

$\\boldsymbol{v} \\times \\boldsymbol{w} = $ [[0]]

", "scripts": {}}, {"showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "variableReplacements": [], "marks": 0, "gaps": [{"checkingtype": "absdiff", "expectedvariablenames": [], "vsetrangepoints": 5, "variableReplacements": [], "marks": 1, "showCorrectAnswer": true, "showpreview": true, "showFeedbackIcon": true, "vsetrange": [0, 1], "answer": "{{bb}*{ff}-{-cc}*{-ee}}", "type": "jme", "checkingaccuracy": 0.001, "checkvariablenames": false, "scripts": {}, "variableReplacementStrategy": "originalfirst"}, {"checkingtype": "absdiff", "expectedvariablenames": [], "vsetrangepoints": 5, "variableReplacements": [], "marks": 1, "showCorrectAnswer": true, "showpreview": true, "showFeedbackIcon": true, "vsetrange": [0, 1], "answer": "{{-cc}*{dd}-{aa}*{ff}}", "type": "jme", "checkingaccuracy": 0.001, "checkvariablenames": false, "scripts": {}, "variableReplacementStrategy": "originalfirst"}, {"checkingtype": "absdiff", "expectedvariablenames": [], "vsetrangepoints": 5, "variableReplacements": [], "marks": "2", "showCorrectAnswer": true, "showpreview": true, "showFeedbackIcon": true, "vsetrange": [0, 1], "answer": "{{aa}*{-ee}-{bb}*{dd}}", "type": "jme", "checkingaccuracy": 0.001, "checkvariablenames": false, "scripts": {}, "variableReplacementStrategy": "originalfirst"}], "showCorrectAnswer": true, "prompt": "

Where

\n

$\\boldsymbol{p} = \\var{aa}i+\\var{bb}j-\\var{cc}k$

\n

and

\n

$\\boldsymbol{q} = \\simplify{{dd}i }- \\simplify{{ee}j}+\\simplify{{ff}k}$

\n

Find $\\boldsymbol{p} \\times \\boldsymbol{q}= $ [[0]]$i$ + [[1]]$j$ + [[2]] $k$

", "scripts": {}}, {"showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "variableReplacements": [], "marks": 0, "gaps": [{"checkingtype": "absdiff", "expectedvariablenames": [], "vsetrangepoints": 5, "variableReplacements": [], "marks": 1, "showCorrectAnswer": true, "showpreview": true, "showFeedbackIcon": true, "vsetrange": [0, 1], "answer": "{unitv}", "type": "jme", "checkingaccuracy": 0.001, "checkvariablenames": false, "scripts": {}, "variableReplacementStrategy": "originalfirst"}], "showCorrectAnswer": true, "prompt": "

Find the modulus of the vector found in part b) , correct to 2 d.p.

\n

= [[0]]

", "scripts": {}}], "type": "question", "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/"}]}