// Numbas version: exam_results_page_options {"name": "Harry's copy of Vector cross product", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "variables": {"ff": {"name": "ff", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(2..9)"}, "s2": {"name": "s2", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(1,-1)"}, "s3": {"name": "s3", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(1,-1)"}, "bb": {"name": "bb", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(2..9)"}, "unitv": {"name": "unitv", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "precround(sqrt(({bb}*{ff}-{cc}*{ee})^2+({cc}*{dd}+{aa}*{ff})^2+({aa}*-{ee}-{bb}*{dd})^2),2)"}, "dd": {"name": "dd", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(2..9)"}, "cc": {"name": "cc", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(2..9)"}, "f": {"name": "f", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(2..9)"}, "s1": {"name": "s1", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(1,-1)"}, "gg": {"name": "gg", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(2..9)"}, "c": {"name": "c", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "s3*random(2..9)"}, "b": {"name": "b", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "s2*random(2..9)"}, "result": {"name": "result", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "cross(vector(a,b,g),vector(c,d,f))"}, "ee": {"name": "ee", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(2..9)"}, "g": {"name": "g", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "s1*random(2..9)"}, "s4": {"name": "s4", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(1,-1)"}, "d": {"name": "d", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "s4*random(2..9)"}, "aa": {"name": "aa", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(2..9)"}, "s5": {"name": "s5", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(1,-1)"}, "a": {"name": "a", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "s1*random(2..9)"}}, "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "name": "Harry's copy of Vector cross product", "parts": [{"variableReplacements": [], "showCorrectAnswer": true, "type": "gapfill", "gaps": [{"variableReplacements": [], "numRows": "3", "showCorrectAnswer": true, "type": "matrix", "markPerCell": false, "numColumns": 1, "allowFractions": false, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "allowResize": false, "correctAnswer": "result", "correctAnswerFractions": false, "tolerance": 0, "scripts": {}, "marks": "3"}], "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]]

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

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

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

\n

= [[0]]

", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "scripts": {}, "marks": 0}], "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "variable_groups": [], "variablesTest": {"condition": "", "maxRuns": 100}, "tags": [], "extensions": [], "statement": "", "preamble": {"css": "", "js": ""}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "result", "s1", "s2", "s3", "s4", "s5", "ee", "dd", "ff", "gg", "aa", "bb", "cc", "unitv"], "advice": "", "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/"}]}