// Numbas version: exam_results_page_options {"name": "Harry's copy of Find the curl of a vector field", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "variables": {"c1": {"name": "c1", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(2..9)*sign(random(-1,1))"}, "p7": {"name": "p7", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(0..4 except p4)"}, "p3": {"name": "p3", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(0..4)"}, "p2": {"name": "p2", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(0..4)"}, "a1": {"name": "a1", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(2..9)*sign(random(-1,1))"}, "p8": {"name": "p8", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(0..4 except p2)"}, "p4": {"name": "p4", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(0..4)"}, "p6": {"name": "p6", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(0..4 except p3)"}, "p9": {"name": "p9", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(0..4)"}, "p5": {"name": "p5", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(0..4)"}, "b1": {"name": "b1", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(2..9)*sign(random(-1,1))"}, "p1": {"name": "p1", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(0..4)"}}, "metadata": {"description": "

Curl of a vector field.

", "licence": "Creative Commons Attribution 4.0 International"}, "name": "Harry's copy of Find the curl of a vector field", "parts": [{"variableReplacements": [], "showCorrectAnswer": true, "type": "gapfill", "gaps": [{"variableReplacements": [], "checkingtype": "absdiff", "showCorrectAnswer": true, "type": "jme", "checkvariablenames": true, "expectedvariablenames": ["x", "y", "z"], "answer": "{c1*p8}*x^{p7}*y^{p8-1}*z^{p9}-{b1*p6}*x^{p4}*y^{p5}*z^{p6-1}", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "showpreview": true, "answersimplification": "all", "vsetrangepoints": 5, "vsetrange": [0, 1], "checkingaccuracy": 0.001, "scripts": {}, "marks": 1}, {"variableReplacements": [], "checkingtype": "absdiff", "showCorrectAnswer": true, "type": "jme", "checkvariablenames": true, "expectedvariablenames": ["x", "y", "z"], "answer": "{a1*p3}*x^{p1}*y^{p2}*z^{p3-1}-{c1*p7}*x^{p7-1}*y^{p8}*z^{p9}", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "showpreview": true, "answersimplification": "all", "vsetrangepoints": 5, "vsetrange": [0, 1], "checkingaccuracy": 0.001, "scripts": {}, "marks": 1}, {"variableReplacements": [], "checkingtype": "absdiff", "showCorrectAnswer": true, "type": "jme", "checkvariablenames": true, "expectedvariablenames": ["x", "y", "z"], "answer": "{b1*p4}*x^{p4-1}*y^{p5}*z^{p6}-{a1*p2}*x^{p1}*y^{p2-1}*z^{p3}", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "showpreview": true, "answersimplification": "all", "vsetrangepoints": 5, "vsetrange": [0, 1], "checkingaccuracy": 0.001, "scripts": {}, "marks": 1}], "prompt": "

$\\boldsymbol{\\nabla}\\times\\boldsymbol{u}=$[[0]] $i$ + [[1]] $j$ + [[2]] $k$

", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "scripts": {}, "marks": 0}], "rulesets": {}, "variable_groups": [], "variablesTest": {"condition": "", "maxRuns": 100}, "tags": [], "extensions": [], "statement": "

Find the curl $\\boldsymbol{\\nabla}\\times\\boldsymbol{u}$ of the vector field $\\boldsymbol{u}=(\\simplify{{a1}*x^{p1}*y^{p2}*z^{p3}})i + (\\simplify{{b1}*x^{p4}*y^{p5}*z^{p6}}) j + (\\simplify{{c1}*x^{p7}*y^{p8}*z^{p9}}) k$.

\n

\n
Note on entering solution: For example: input $xyz$ as $x$*$y$*$z$
", "preamble": {"css": "", "js": ""}, "ungrouped_variables": ["p2", "p3", "p1", "p6", "p7", "p4", "p5", "p8", "p9", "a1", "b1", "c1"], "advice": "

The curl of a vector field $\\boldsymbol{u}=\\pmatrix{u_x,u_y,u_z}$ is given by

\n

\\[\\boldsymbol{\\nabla}\\times\\boldsymbol{u}=\\pmatrix{\\frac{\\partial u_z}{\\partial y}-\\frac{\\partial u_y}{\\partial z},\\frac{\\partial u_x}{\\partial z}-\\frac{\\partial u_z}{\\partial x},\\frac{\\partial u_y}{\\partial x}-\\frac{\\partial u_x}{\\partial y}}.\\]

\n

Hence, in this example, after straight forward partial differentiation

\n

\\[\\boldsymbol{\\nabla}\\times\\boldsymbol{u}=\\pmatrix{\\simplify{{c1*p8}*x^{p7}*y^{p8-1}*z^{p9}-{b1*p6}*x^{p4}*y^{p5}*z^{p6-1}},\\simplify{{a1*p3}*x^{p1}*y^{p2}*z^{p3-1}-{c1*p7}*x^{p7-1}*y^{p8}*z^{p9}},\\simplify{{b1*p4}*x^{p4-1}*y^{p5}*z^{p6}-{a1*p2}*x^{p1}*y^{p2-1}*z^{p3}}}.\\]

", "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/"}]}