// Numbas version: finer_feedback_settings {"name": "2240 Term Test", "metadata": {"description": "", "licence": "None specified"}, "duration": 0, "percentPass": 0, "showQuestionGroupNames": false, "shuffleQuestionGroups": false, "showstudentname": true, "question_groups": [{"name": "Term Test", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], "variable_overrides": [[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []], "questions": [{"name": "Term test question one", "extensions": [], "custom_part_types": [], "resources": ["question-resources/term_test_fig.jpg"], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Suzanne Imber", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/638/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "
A loop of wire sits in a magnetic field, the direction of which is given in the figure below. An anti-clockwise current is induced in the wire caused by a change in the system. What possible changes in the system could have caused that current to flow?
\n
The loop shape changed.
", "The magnetic field increased in strength.
", "The loop area got smaller.", "None of these."], "matrix": [0, "1", 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Term Test Question Two", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Suzanne Imber", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/638/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "A square section of wire, with side length 1 metre sits in the plane of the paper, within a magnetic field of 5 T, directed out of the paper. The length of each side grows by 5 cm per second, for 20 seconds. At t = 15 seconds, what is the magnitude of the emf, and the direction of the current?
", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "The magnitude of the emf is [[0]] V
", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.873", "maxValue": "0.877", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "What is the direction of the current?
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["clockwise", "anticlockwise"], "matrix": ["0.5", 0], "distractors": ["", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Term Test Question Three", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Suzanne Imber", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/638/"}, {"name": "Tim Yeoman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4835/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "Find the divergence of the field given by $\\mathbf{E}$ $=r\\mathbf{\\hat{r}}$ in spherical coordinates.
", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "\n[[0]]
", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "3", "maxValue": "3", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Term Test Question Four", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Suzanne Imber", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/638/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "An infinitely thin circular disk has a surface charge density of $\\frac{\\simplify{ {charge_density} } \\mathrm{x}10^{-10} }{r}\\mathrm{C m}^{-2}$. It is surrounded by a sphere of one metre radius. Given that the flux through the sphere is {flux} Vm, what is the radius of the disk, in metres, to three decimal places?
", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"flux": {"name": "flux", "group": "Ungrouped variables", "definition": "random(7.5 .. 10.5#0.1)", "description": "Flux
", "templateType": "randrange", "can_override": false}, "charge_density": {"name": "charge_density", "group": "Ungrouped variables", "definition": "random(4 .. 6#0.1)", "description": "", "templateType": "randrange", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["flux", "charge_density"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "The radius of the disk is: [[0]] metres
", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.97*{flux}/(2*PI*{charge_density}/(0.0885))", "maxValue": "1.03*{flux}/(2*PI*{charge_density}/(0.0885))", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "2240 TT TKY Q5", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Suzanne Imber", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/638/"}, {"name": "Tim Yeoman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4835/"}], "tags": [], "metadata": {"description": "A method of randomly choosing variable names - use the expression() JME function to create a variable name from a randomly chosen string.
(This question also uses a custom marking script to check that the student has simplified the expression)
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "Multiply the numerators together, and then multiply the denominators together, to obtain
\n", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"coords": {"name": "coords", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"])", "description": "", "templateType": "anything", "can_override": false}, "coords_name": {"name": "coords_name", "group": "Ungrouped variables", "definition": "expression(coords)", "description": "", "templateType": "anything", "can_override": false}, "coords2": {"name": "coords2", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"] except coords)", "description": "", "templateType": "anything", "can_override": false}, "coords2_name": {"name": "coords2_name", "group": "Ungrouped variables", "definition": "expression(coords2)", "description": "", "templateType": "anything", "can_override": true}, "signp": {"name": "signp", "group": "Ungrouped variables", "definition": "\"+\"", "description": "", "templateType": "anything", "can_override": false}, "signn": {"name": "signn", "group": "Ungrouped variables", "definition": "\"-\"", "description": "", "templateType": "anything", "can_override": false}, "sign_name": {"name": "sign_name", "group": "Ungrouped variables", "definition": "random(signp,signn)", "description": "", "templateType": "anything", "can_override": false}, "revsign_name": {"name": "revsign_name", "group": "Ungrouped variables", "definition": "random([signp,signn] except sign_name)", "description": "", "templateType": "anything", "can_override": false}, "q13freq": {"name": "q13freq", "group": "Ungrouped variables", "definition": "random(1..3)*100", "description": "frequency variable
", "templateType": "anything", "can_override": false}, "q13R": {"name": "q13R", "group": "Ungrouped variables", "definition": "100*6.54/q13freq", "description": "calculated R value
", "templateType": "anything", "can_override": false}, "q8b": {"name": "q8b", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "magnetic field multiplier
", "templateType": "anything", "can_override": false}, "q8u": {"name": "q8u", "group": "Ungrouped variables", "definition": "3.98*10^(-13)*q8b*q8b", "description": "energy density scaled by b value
", "templateType": "anything", "can_override": false}, "q8S": {"name": "q8S", "group": "Ungrouped variables", "definition": "1.19*10^(-4)*q8b*q8b", "description": "", "templateType": "anything", "can_override": false}, "XorY": {"name": "XorY", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\"])", "description": "", "templateType": "anything", "can_override": false}, "XorY_name": {"name": "XorY_name", "group": "Ungrouped variables", "definition": "expression(XorY)", "description": "", "templateType": "anything", "can_override": false}, "notXorY": {"name": "notXorY", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"] except XorY)", "description": "", "templateType": "anything", "can_override": false}, "notXorY_name": {"name": "notXorY_name", "group": "Ungrouped variables", "definition": "expression(notXorY)", "description": "", "templateType": "anything", "can_override": false}, "YorX": {"name": "YorX", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\"] except XorY)", "description": "", "templateType": "anything", "can_override": false}, "YorX_name": {"name": "YorX_name", "group": "Ungrouped variables", "definition": "expression(YorX)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["coords", "coords_name", "coords2", "coords2_name", "signp", "signn", "sign_name", "revsign_name", "q13freq", "q13R", "q8b", "q8u", "q8S", "XorY", "XorY_name", "notXorY", "notXorY_name", "YorX", "YorX_name"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": true, "customName": "Question 5", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "A plane electromagnetic wave of angular frequency $\\omega$ and wave number $k$ propagates in a vacuum in the {sign_name}$\\simplify{ {XorY_name} }$ direction. The electric field of the wave is linearly polarized in the $\\simplify{ {notXorY_name} }$ direction. Choose an appropriate expression for the wave electric field.
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$\\textbf{E}=E_0\\cos \\left( k \\simplify{{notXorY_name}} \\simplify{{revsign_name}} \\omega t\\right)\\mathbf{\\hat{\\simplify{{XorY_name}}}}$", "$\\textbf{E}=E_0\\cos \\left( k \\simplify{{notXorY_name}} \\simplify{{sign_name}} \\omega t\\right)\\mathbf{\\hat{\\simplify{{XorY_name}}}}$", "$\\textbf{E}=E_0\\cos \\left( k \\simplify{{XorY_name}} \\simplify{{revsign_name}} \\omega t\\right)\\mathbf{\\hat{\\simplify{{notXorY_name}}}}$", " $\\textbf{E}=E_0\\cos \\left( k \\simplify{{XorY_name}} \\simplify{{sign_name}} \\omega t\\right)\\mathbf{\\hat{\\simplify{{notXorY_name}}}}$", "None of these"], "matrix": [0, 0, "1", 0, 0], "distractors": ["", "", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "2240 TT TKY Q6", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Suzanne Imber", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/638/"}, {"name": "Tim Yeoman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4835/"}], "tags": [], "metadata": {"description": "A method of randomly choosing variable names - use the expression() JME function to create a variable name from a randomly chosen string.
(This question also uses a custom marking script to check that the student has simplified the expression)
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "Multiply the numerators together, and then multiply the denominators together, to obtain
\n", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"coords": {"name": "coords", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"])", "description": "", "templateType": "anything", "can_override": false}, "coords_name": {"name": "coords_name", "group": "Ungrouped variables", "definition": "expression(coords)", "description": "", "templateType": "anything", "can_override": false}, "coords2": {"name": "coords2", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"] except coords)", "description": "", "templateType": "anything", "can_override": false}, "coords2_name": {"name": "coords2_name", "group": "Ungrouped variables", "definition": "expression(coords2)", "description": "", "templateType": "anything", "can_override": true}, "signp": {"name": "signp", "group": "Ungrouped variables", "definition": "\"+\"", "description": "", "templateType": "anything", "can_override": false}, "signn": {"name": "signn", "group": "Ungrouped variables", "definition": "\"-\"", "description": "", "templateType": "anything", "can_override": false}, "sign_name": {"name": "sign_name", "group": "Ungrouped variables", "definition": "random(signp,signn)", "description": "", "templateType": "anything", "can_override": false}, "revsign_name": {"name": "revsign_name", "group": "Ungrouped variables", "definition": "random([signp,signn] except sign_name)", "description": "", "templateType": "anything", "can_override": false}, "q13freq": {"name": "q13freq", "group": "Ungrouped variables", "definition": "random(1..3)*100", "description": "frequency variable
", "templateType": "anything", "can_override": false}, "q13R": {"name": "q13R", "group": "Ungrouped variables", "definition": "100*6.54/q13freq", "description": "calculated R value
", "templateType": "anything", "can_override": false}, "q8b": {"name": "q8b", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "magnetic field multiplier
", "templateType": "anything", "can_override": false}, "q8u": {"name": "q8u", "group": "Ungrouped variables", "definition": "3.98*10^(-13)*q8b*q8b", "description": "energy density scaled by b value
", "templateType": "anything", "can_override": false}, "q8S": {"name": "q8S", "group": "Ungrouped variables", "definition": "1.19*10^(-4)*q8b*q8b", "description": "", "templateType": "anything", "can_override": false}, "XorY": {"name": "XorY", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\"])", "description": "", "templateType": "anything", "can_override": false}, "XorY_name": {"name": "XorY_name", "group": "Ungrouped variables", "definition": "expression(XorY)", "description": "", "templateType": "anything", "can_override": false}, "notXorY": {"name": "notXorY", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"] except XorY)", "description": "", "templateType": "anything", "can_override": false}, "notXorY_name": {"name": "notXorY_name", "group": "Ungrouped variables", "definition": "expression(notXorY)", "description": "", "templateType": "anything", "can_override": false}, "YorX": {"name": "YorX", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\"] except XorY)", "description": "", "templateType": "anything", "can_override": false}, "YorX_name": {"name": "YorX_name", "group": "Ungrouped variables", "definition": "expression(YorX)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["coords", "coords_name", "coords2", "coords2_name", "signp", "signn", "sign_name", "revsign_name", "q13freq", "q13R", "q8b", "q8u", "q8S", "XorY", "XorY_name", "notXorY", "notXorY_name", "YorX", "YorX_name"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": true, "customName": "Question 6", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "If $\\hat{\\textbf{k}}$ is the unit vector in the direction of propagation, and $c$ is the speed of light, choose an appropriate expression for the
relationship between the electric and magnetic fields of an electromagnetic plane wave propagating in a vacuum.
A method of randomly choosing variable names - use the expression() JME function to create a variable name from a randomly chosen string.
(This question also uses a custom marking script to check that the student has simplified the expression)
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "Multiply the numerators together, and then multiply the denominators together, to obtain
\n", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"coords": {"name": "coords", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"])", "description": "", "templateType": "anything", "can_override": false}, "coords_name": {"name": "coords_name", "group": "Ungrouped variables", "definition": "expression(coords)", "description": "", "templateType": "anything", "can_override": false}, "coords2": {"name": "coords2", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"] except coords)", "description": "", "templateType": "anything", "can_override": false}, "coords2_name": {"name": "coords2_name", "group": "Ungrouped variables", "definition": "expression(coords2)", "description": "", "templateType": "anything", "can_override": true}, "signp": {"name": "signp", "group": "Ungrouped variables", "definition": "\"+\"", "description": "", "templateType": "anything", "can_override": false}, "signn": {"name": "signn", "group": "Ungrouped variables", "definition": "\"-\"", "description": "", "templateType": "anything", "can_override": false}, "sign_name": {"name": "sign_name", "group": "Ungrouped variables", "definition": "random(signp,signn)", "description": "", "templateType": "anything", "can_override": false}, "revsign_name": {"name": "revsign_name", "group": "Ungrouped variables", "definition": "random([signp,signn] except sign_name)", "description": "", "templateType": "anything", "can_override": false}, "q13freq": {"name": "q13freq", "group": "Ungrouped variables", "definition": "random(1..3)*100", "description": "frequency variable
", "templateType": "anything", "can_override": false}, "q13R": {"name": "q13R", "group": "Ungrouped variables", "definition": "100*6.54/q13freq", "description": "calculated R value
", "templateType": "anything", "can_override": false}, "q8b": {"name": "q8b", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "magnetic field multiplier
", "templateType": "anything", "can_override": false}, "q8u": {"name": "q8u", "group": "Ungrouped variables", "definition": "3.98*10^(-13)*q8b*q8b", "description": "energy density scaled by b value
", "templateType": "anything", "can_override": false}, "q8S": {"name": "q8S", "group": "Ungrouped variables", "definition": "1.19*10^(-4)*q8b*q8b", "description": "", "templateType": "anything", "can_override": false}, "XorY": {"name": "XorY", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\"])", "description": "", "templateType": "anything", "can_override": false}, "XorY_name": {"name": "XorY_name", "group": "Ungrouped variables", "definition": "expression(XorY)", "description": "", "templateType": "anything", "can_override": false}, "notXorY": {"name": "notXorY", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"] except XorY)", "description": "", "templateType": "anything", "can_override": false}, "notXorY_name": {"name": "notXorY_name", "group": "Ungrouped variables", "definition": "expression(notXorY)", "description": "", "templateType": "anything", "can_override": false}, "YorX": {"name": "YorX", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\"] except XorY)", "description": "", "templateType": "anything", "can_override": false}, "YorX_name": {"name": "YorX_name", "group": "Ungrouped variables", "definition": "expression(YorX)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["coords", "coords_name", "coords2", "coords2_name", "signp", "signn", "sign_name", "revsign_name", "q13freq", "q13R", "q8b", "q8u", "q8S", "XorY", "XorY_name", "notXorY", "notXorY_name", "YorX", "YorX_name"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": true, "customName": "Question 7", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "A plane electromagnetic wave of angular frequency $\\omega$ and wave number $k$ propagates in a vacuum in the {sign_name}$\\simplify{ {XorY_name} }$ direction. The electric field of the wave is linearly polarized in the $\\simplify{ {notXorY_name} }$ direction. Using the result of question 6, choose a possible expression for the magnetic field of the wave.
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$\\textbf{B}=\\frac{E_0}{c}\\cos \\left(k\\simplify{{XorY_name}}\\simplify{{sign_name}}\\omega t\\right)\\mathbf{\\hat{\\simplify{{notXorY_name}}}}$", "$\\textbf{B}=cE_0\\cos \\left(k\\simplify{{notXorY_name}}\\simplify{{revsign_name}}\\omega t\\right)\\mathbf{\\hat{\\simplify{{XorY_name}}}}$", "$\\textbf{B}=\\frac{E_0}{c}\\cos \\left(k\\simplify{{notXorY_name}}\\simplify{{revsign_name}}\\omega t\\right)\\mathbf{\\hat{\\simplify{{XorY_name}}}}$", "$\\textbf{B}=cE_0\\cos \\left(k\\simplify{{XorY_name}}\\simplify{{revsign_name}}\\omega t\\right)\\mathbf{\\hat{\\simplify{{notXorY_name}}}}$", "None of these"], "matrix": [0, 0, 0, 0, "1"], "distractors": ["", "", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "2240 TT TKY Q8", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Suzanne Imber", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/638/"}, {"name": "Tim Yeoman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4835/"}], "tags": [], "metadata": {"description": "A method of randomly choosing variable names - use the expression() JME function to create a variable name from a randomly chosen string.
(This question also uses a custom marking script to check that the student has simplified the expression)
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "Multiply the numerators together, and then multiply the denominators together, to obtain
\n", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"coords": {"name": "coords", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"])", "description": "", "templateType": "anything", "can_override": false}, "coords_name": {"name": "coords_name", "group": "Ungrouped variables", "definition": "expression(coords)", "description": "", "templateType": "anything", "can_override": false}, "coords2": {"name": "coords2", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"] except coords)", "description": "", "templateType": "anything", "can_override": false}, "coords2_name": {"name": "coords2_name", "group": "Ungrouped variables", "definition": "expression(coords2)", "description": "", "templateType": "anything", "can_override": true}, "signp": {"name": "signp", "group": "Ungrouped variables", "definition": "\"+\"", "description": "", "templateType": "anything", "can_override": false}, "signn": {"name": "signn", "group": "Ungrouped variables", "definition": "\"-\"", "description": "", "templateType": "anything", "can_override": false}, "sign_name": {"name": "sign_name", "group": "Ungrouped variables", "definition": "random(signp,signn)", "description": "", "templateType": "anything", "can_override": false}, "revsign_name": {"name": "revsign_name", "group": "Ungrouped variables", "definition": "random([signp,signn] except sign_name)", "description": "", "templateType": "anything", "can_override": false}, "q13freq": {"name": "q13freq", "group": "Ungrouped variables", "definition": "random(1..3)*100", "description": "frequency variable
", "templateType": "anything", "can_override": false}, "q13R": {"name": "q13R", "group": "Ungrouped variables", "definition": "100*6.54/q13freq", "description": "calculated R value
", "templateType": "anything", "can_override": false}, "q8b": {"name": "q8b", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "magnetic field multiplier
", "templateType": "anything", "can_override": false}, "q8u": {"name": "q8u", "group": "Ungrouped variables", "definition": "3.98*10^(-13)*q8b*q8b", "description": "energy density scaled by b value
", "templateType": "anything", "can_override": false}, "q8S": {"name": "q8S", "group": "Ungrouped variables", "definition": "1.19*10^(-4)*q8b*q8b", "description": "", "templateType": "anything", "can_override": false}, "XorY": {"name": "XorY", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\"])", "description": "", "templateType": "anything", "can_override": false}, "XorY_name": {"name": "XorY_name", "group": "Ungrouped variables", "definition": "expression(XorY)", "description": "", "templateType": "anything", "can_override": false}, "notXorY": {"name": "notXorY", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"] except XorY)", "description": "", "templateType": "anything", "can_override": false}, "notXorY_name": {"name": "notXorY_name", "group": "Ungrouped variables", "definition": "expression(notXorY)", "description": "", "templateType": "anything", "can_override": false}, "YorX": {"name": "YorX", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\"] except XorY)", "description": "", "templateType": "anything", "can_override": false}, "YorX_name": {"name": "YorX_name", "group": "Ungrouped variables", "definition": "expression(YorX)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["coords", "coords_name", "coords2", "coords2_name", "signp", "signn", "sign_name", "revsign_name", "q13freq", "q13R", "q8b", "q8u", "q8S", "XorY", "XorY_name", "notXorY", "notXorY_name", "YorX", "YorX_name"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": true, "customName": "Question 8", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "An electromagnetic wave propagates in a vacuum with a magnetic field magnitude of {q8b} x $10^{-9}$ T. What is the time-averaged value of the total electromagnetic energy density, $u_{tot}$ and the time-averaged magnitude of the Poynting flux $| \\textbf{S}|$ of the wave?
\n$u_{tot}$=[[0]] J m$^{-3}$
\n$| \\textbf{S}|$=[[1]] W m$^{-2}$
\n(you can answer in decimal notation (e.g. 0.001) or scientific notation (e.g. 1.2e-5) )
", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "utot", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "q8u-q8u*0.05", "maxValue": "q8u+q8u*0.05", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en", "scientific"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "S", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "q8S-q8S*0.05", "maxValue": "q8S+q8S*0.05", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en", "scientific"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "2240 TT TKY Q9", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Suzanne Imber", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/638/"}, {"name": "Tim Yeoman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4835/"}], "tags": [], "metadata": {"description": "A method of randomly choosing variable names - use the expression() JME function to create a variable name from a randomly chosen string.
(This question also uses a custom marking script to check that the student has simplified the expression)
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "Multiply the numerators together, and then multiply the denominators together, to obtain
\n", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"coords": {"name": "coords", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"])", "description": "", "templateType": "anything", "can_override": false}, "coords_name": {"name": "coords_name", "group": "Ungrouped variables", "definition": "expression(coords)", "description": "", "templateType": "anything", "can_override": false}, "coords2": {"name": "coords2", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"] except coords)", "description": "", "templateType": "anything", "can_override": false}, "coords2_name": {"name": "coords2_name", "group": "Ungrouped variables", "definition": "expression(coords2)", "description": "", "templateType": "anything", "can_override": true}, "signp": {"name": "signp", "group": "Ungrouped variables", "definition": "\"+\"", "description": "", "templateType": "anything", "can_override": false}, "signn": {"name": "signn", "group": "Ungrouped variables", "definition": "\"-\"", "description": "", "templateType": "anything", "can_override": false}, "sign_name": {"name": "sign_name", "group": "Ungrouped variables", "definition": "random(signp,signn)", "description": "", "templateType": "anything", "can_override": false}, "revsign_name": {"name": "revsign_name", "group": "Ungrouped variables", "definition": "random([signp,signn] except sign_name)", "description": "", "templateType": "anything", "can_override": false}, "q13freq": {"name": "q13freq", "group": "Ungrouped variables", "definition": "random(1..3)*100", "description": "frequency variable
", "templateType": "anything", "can_override": false}, "q13R": {"name": "q13R", "group": "Ungrouped variables", "definition": "100*6.54/q13freq", "description": "calculated R value
", "templateType": "anything", "can_override": false}, "q8b": {"name": "q8b", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "magnetic field multiplier
", "templateType": "anything", "can_override": false}, "q8u": {"name": "q8u", "group": "Ungrouped variables", "definition": "3.98*10^(-13)*q8b*q8b", "description": "energy density scaled by b value
", "templateType": "anything", "can_override": false}, "q8S": {"name": "q8S", "group": "Ungrouped variables", "definition": "1.19*10^(-4)*q8b*q8b", "description": "", "templateType": "anything", "can_override": false}, "XorY": {"name": "XorY", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\"])", "description": "", "templateType": "anything", "can_override": false}, "XorY_name": {"name": "XorY_name", "group": "Ungrouped variables", "definition": "expression(XorY)", "description": "", "templateType": "anything", "can_override": false}, "notXorY": {"name": "notXorY", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"] except XorY)", "description": "", "templateType": "anything", "can_override": false}, "notXorY_name": {"name": "notXorY_name", "group": "Ungrouped variables", "definition": "expression(notXorY)", "description": "", "templateType": "anything", "can_override": false}, "YorX": {"name": "YorX", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\"] except XorY)", "description": "", "templateType": "anything", "can_override": false}, "YorX_name": {"name": "YorX_name", "group": "Ungrouped variables", "definition": "expression(YorX)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["coords", "coords_name", "coords2", "coords2_name", "signp", "signn", "sign_name", "revsign_name", "q13freq", "q13R", "q8b", "q8u", "q8S", "XorY", "XorY_name", "notXorY", "notXorY_name", "YorX", "YorX_name"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": true, "customName": "Question 9", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "In complex notation, the electric and magnetic fields of a plane wave propagating in a vacuum are given by $\\textbf{E} = E_0 \\textrm{e}^{\\textrm{i}\\left( k \\simplify{{XorY_name}} \\simplify{{sign_name}}\\omega t\\right)}\\mathbf{\\hat{\\simplify{{YorX_name}}}}$ and $\\textbf{B} = -\\frac{E_0}{c} \\textrm{e}^{\\textrm{i}\\left(k\\simplify{{XorY_name}} \\simplify{{sign_name}} \\omega t \\right)}\\mathbf{\\hat{z}}$, respectively. In which direction is the wave propagating?
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["The $\\simplify{{revsign_name}} \\simplify{{XorY_name}}$ direction", "The $\\simplify{{revsign_name}} \\simplify{{YorX_name}}$ direction", "The $\\simplify{{sign_name}} \\simplify{{XorY_name}}$ direction", "The $\\simplify{{sign_name}} \\simplify{{YorX_name}}$ direction", "None of these"], "matrix": ["1", 0, 0, 0, 0], "distractors": ["", "", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "2240 TT TKY Q10", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Suzanne Imber", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/638/"}, {"name": "Tim Yeoman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4835/"}], "tags": [], "metadata": {"description": "A method of randomly choosing variable names - use the expression() JME function to create a variable name from a randomly chosen string.
(This question also uses a custom marking script to check that the student has simplified the expression)
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "Multiply the numerators together, and then multiply the denominators together, to obtain
\n", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"coords": {"name": "coords", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"])", "description": "", "templateType": "anything", "can_override": false}, "coords_name": {"name": "coords_name", "group": "Ungrouped variables", "definition": "expression(coords)", "description": "", "templateType": "anything", "can_override": false}, "coords2": {"name": "coords2", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"] except coords)", "description": "", "templateType": "anything", "can_override": false}, "coords2_name": {"name": "coords2_name", "group": "Ungrouped variables", "definition": "expression(coords2)", "description": "", "templateType": "anything", "can_override": true}, "signp": {"name": "signp", "group": "Ungrouped variables", "definition": "\"+\"", "description": "", "templateType": "anything", "can_override": false}, "signn": {"name": "signn", "group": "Ungrouped variables", "definition": "\"-\"", "description": "", "templateType": "anything", "can_override": false}, "sign_name": {"name": "sign_name", "group": "Ungrouped variables", "definition": "random(signp,signn)", "description": "", "templateType": "anything", "can_override": false}, "revsign_name": {"name": "revsign_name", "group": "Ungrouped variables", "definition": "random([signp,signn] except sign_name)", "description": "", "templateType": "anything", "can_override": false}, "q13freq": {"name": "q13freq", "group": "Ungrouped variables", "definition": "random(1..3)*100", "description": "frequency variable
", "templateType": "anything", "can_override": false}, "q13R": {"name": "q13R", "group": "Ungrouped variables", "definition": "100*6.54/q13freq", "description": "calculated R value
", "templateType": "anything", "can_override": false}, "q8b": {"name": "q8b", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "magnetic field multiplier
", "templateType": "anything", "can_override": false}, "q8u": {"name": "q8u", "group": "Ungrouped variables", "definition": "3.98*10^(-13)*q8b*q8b", "description": "energy density scaled by b value
", "templateType": "anything", "can_override": false}, "q8S": {"name": "q8S", "group": "Ungrouped variables", "definition": "1.19*10^(-4)*q8b*q8b", "description": "", "templateType": "anything", "can_override": false}, "XorY": {"name": "XorY", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\"])", "description": "", "templateType": "anything", "can_override": false}, "XorY_name": {"name": "XorY_name", "group": "Ungrouped variables", "definition": "expression(XorY)", "description": "", "templateType": "anything", "can_override": false}, "notXorY": {"name": "notXorY", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"] except XorY)", "description": "", "templateType": "anything", "can_override": false}, "notXorY_name": {"name": "notXorY_name", "group": "Ungrouped variables", "definition": "expression(notXorY)", "description": "", "templateType": "anything", "can_override": false}, "YorX": {"name": "YorX", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\"] except XorY)", "description": "", "templateType": "anything", "can_override": false}, "YorX_name": {"name": "YorX_name", "group": "Ungrouped variables", "definition": "expression(YorX)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["coords", "coords_name", "coords2", "coords2_name", "signp", "signn", "sign_name", "revsign_name", "q13freq", "q13R", "q8b", "q8u", "q8S", "XorY", "XorY_name", "notXorY", "notXorY_name", "YorX", "YorX_name"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": true, "customName": "Question 10", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "In complex notation, the electric and magnetic fields of a plane wave propagating in a vacuum are given by $\\textbf{E} = E_0 \\textrm{e}^{\\textrm{i}\\left( k \\simplify{{XorY_name}} \\simplify{{sign_name}}\\omega t\\right)}\\mathbf{\\hat{\\simplify{{YorX_name}}}}$ and $\\textbf{B} = -\\frac{E_0}{c} \\textrm{e}^{\\textrm{i}\\left(k\\simplify{{XorY_name}} \\simplify{{sign_name}} \\omega t \\right)}\\mathbf{\\hat{z}}$, respectively. What is the energy density of the electric field of the wave ?
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$\\left( {\\frac{{{\\varepsilon _0}E_0^2}}{2}} \\right)\\textrm{e}^{2\\textrm{i}\\left( k \\simplify{{XorY_name}} \\simplify{{sign_name}}\\omega t\\right)}$", "$\\left( {\\frac{{{\\varepsilon _0}E_0^2}}{2}} \\right){\\cos ^2}\\left( {k\\simplify{{XorY_name}} \\simplify{{sign_name}}\\omega t} \\right)$", "$\\left( {\\frac{{{\\varepsilon _0}E_0^2}}{2}} \\right)\\textrm{e}^{2\\textrm{i}\\left( k \\simplify{{YorX_name}} \\simplify{{sign_name}}\\omega t\\right)}$", "$\\left( {\\frac{{{\\varepsilon _0}E_0^2}}{2}} \\right){\\cos ^2}\\left( {k\\simplify{{YorX_name}} \\simplify{{sign_name}}\\omega t} \\right)$", "none of these"], "matrix": [0, "1", 0, "0", 0], "distractors": ["", "", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "2240 TT TKY Q11", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Suzanne Imber", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/638/"}, {"name": "Tim Yeoman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4835/"}], "tags": [], "metadata": {"description": "A method of randomly choosing variable names - use the expression() JME function to create a variable name from a randomly chosen string.
(This question also uses a custom marking script to check that the student has simplified the expression)
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "Multiply the numerators together, and then multiply the denominators together, to obtain
\n", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"coords": {"name": "coords", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"])", "description": "", "templateType": "anything", "can_override": false}, "coords_name": {"name": "coords_name", "group": "Ungrouped variables", "definition": "expression(coords)", "description": "", "templateType": "anything", "can_override": false}, "coords2": {"name": "coords2", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"] except coords)", "description": "", "templateType": "anything", "can_override": false}, "coords2_name": {"name": "coords2_name", "group": "Ungrouped variables", "definition": "expression(coords2)", "description": "", "templateType": "anything", "can_override": true}, "signp": {"name": "signp", "group": "Ungrouped variables", "definition": "\"+\"", "description": "", "templateType": "anything", "can_override": false}, "signn": {"name": "signn", "group": "Ungrouped variables", "definition": "\"-\"", "description": "", "templateType": "anything", "can_override": false}, "sign_name": {"name": "sign_name", "group": "Ungrouped variables", "definition": "random(signp,signn)", "description": "", "templateType": "anything", "can_override": false}, "revsign_name": {"name": "revsign_name", "group": "Ungrouped variables", "definition": "random([signp,signn] except sign_name)", "description": "", "templateType": "anything", "can_override": false}, "q13freq": {"name": "q13freq", "group": "Ungrouped variables", "definition": "random(1..3)*100", "description": "frequency variable
", "templateType": "anything", "can_override": false}, "q13R": {"name": "q13R", "group": "Ungrouped variables", "definition": "100*6.54/q13freq", "description": "calculated R value
", "templateType": "anything", "can_override": false}, "q8b": {"name": "q8b", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "magnetic field multiplier
", "templateType": "anything", "can_override": false}, "q8u": {"name": "q8u", "group": "Ungrouped variables", "definition": "3.98*10^(-13)*q8b*q8b", "description": "energy density scaled by b value
", "templateType": "anything", "can_override": false}, "q8S": {"name": "q8S", "group": "Ungrouped variables", "definition": "1.19*10^(-4)*q8b*q8b", "description": "", "templateType": "anything", "can_override": false}, "XorY": {"name": "XorY", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\"])", "description": "", "templateType": "anything", "can_override": false}, "XorY_name": {"name": "XorY_name", "group": "Ungrouped variables", "definition": "expression(XorY)", "description": "", "templateType": "anything", "can_override": false}, "notXorY": {"name": "notXorY", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"] except XorY)", "description": "", "templateType": "anything", "can_override": false}, "notXorY_name": {"name": "notXorY_name", "group": "Ungrouped variables", "definition": "expression(notXorY)", "description": "", "templateType": "anything", "can_override": false}, "YorX": {"name": "YorX", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\"] except XorY)", "description": "", "templateType": "anything", "can_override": false}, "YorX_name": {"name": "YorX_name", "group": "Ungrouped variables", "definition": "expression(YorX)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["coords", "coords_name", "coords2", "coords2_name", "signp", "signn", "sign_name", "revsign_name", "q13freq", "q13R", "q8b", "q8u", "q8S", "XorY", "XorY_name", "notXorY", "notXorY_name", "YorX", "YorX_name"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": true, "customName": "Question 11", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "In complex notation, the electric and magnetic fields of a plane wave propagating in a vacuum are given by $\\textbf{E} = E_0 \\textrm{e}^{\\textrm{i}\\left( k \\simplify{{XorY_name}} \\simplify{{sign_name}}\\omega t\\right)}\\mathbf{\\hat{\\simplify{{YorX_name}}}}$ and $\\textbf{B} = -\\frac{E_0}{c} \\textrm{e}^{\\textrm{i}\\left(k\\simplify{{XorY_name}} \\simplify{{sign_name}} \\omega t \\right)}\\mathbf{\\hat{z}}$, respectively. What is the Poynting vector of the wave ?
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$\\textbf{N} = \\sqrt \\frac{\\mu _0}{\\varepsilon _0} E_0^2\\textrm{e}^{2\\textrm{i}\\left( k\\simplify{{XorY_name}}\\simplify{{sign_name}}\\omega t \\right)}\\mathbf{\\hat{\\simplify{{XorY_name}}}}$", "$\\textbf{N} = \\sqrt \\frac{\\varepsilon _0}{\\mu _0} E_0^2{\\cos ^2}\\left( {k\\simplify{{XorY_name}}\\simplify{{sign_name}}\\omega t } \\right)\\mathbf{\\hat{\\simplify{{YorX_name}}}}$", "$\\textbf{N} = \\sqrt \\frac{\\mu _0}{\\varepsilon _0} E_0^2\\textrm{e}^{2\\textrm{i}\\left( k\\simplify{{YorX_name}}\\simplify{{sign_name}}\\omega t \\right)}\\mathbf{\\hat{\\simplify{{YorX_name}}}}$", "$\\textbf{N} = \\sqrt \\frac{\\varepsilon _0}{\\mu _0} E_0^2{\\cos ^2}\\left( {k\\simplify{{YorX_name}}\\simplify{{sign_name}}\\omega t } \\right)\\mathbf{\\hat{\\simplify{{XorY_name}}}}$", "None of these"], "matrix": [0, 0, 0, 0, "1"], "distractors": ["", "", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "2240 TT TKY Q12", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Suzanne Imber", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/638/"}, {"name": "Tim Yeoman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4835/"}], "tags": [], "metadata": {"description": "A method of randomly choosing variable names - use the expression() JME function to create a variable name from a randomly chosen string.
(This question also uses a custom marking script to check that the student has simplified the expression)
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "Multiply the numerators together, and then multiply the denominators together, to obtain
\n", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"coords": {"name": "coords", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"])", "description": "", "templateType": "anything", "can_override": false}, "coords_name": {"name": "coords_name", "group": "Ungrouped variables", "definition": "expression(coords)", "description": "", "templateType": "anything", "can_override": false}, "coords2": {"name": "coords2", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"] except coords)", "description": "", "templateType": "anything", "can_override": false}, "coords2_name": {"name": "coords2_name", "group": "Ungrouped variables", "definition": "expression(coords2)", "description": "", "templateType": "anything", "can_override": true}, "signp": {"name": "signp", "group": "Ungrouped variables", "definition": "\"+\"", "description": "", "templateType": "anything", "can_override": false}, "signn": {"name": "signn", "group": "Ungrouped variables", "definition": "\"-\"", "description": "", "templateType": "anything", "can_override": false}, "sign_name": {"name": "sign_name", "group": "Ungrouped variables", "definition": "random(signp,signn)", "description": "", "templateType": "anything", "can_override": false}, "revsign_name": {"name": "revsign_name", "group": "Ungrouped variables", "definition": "random([signp,signn] except sign_name)", "description": "", "templateType": "anything", "can_override": false}, "q13freq": {"name": "q13freq", "group": "Ungrouped variables", "definition": "random(1..3)*100", "description": "frequency variable
", "templateType": "anything", "can_override": false}, "q13R": {"name": "q13R", "group": "Ungrouped variables", "definition": "100*6.54/q13freq", "description": "calculated R value
", "templateType": "anything", "can_override": false}, "q8b": {"name": "q8b", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "magnetic field multiplier
", "templateType": "anything", "can_override": false}, "q8u": {"name": "q8u", "group": "Ungrouped variables", "definition": "3.98*10^(-13)*q8b*q8b", "description": "energy density scaled by b value
", "templateType": "anything", "can_override": false}, "q8S": {"name": "q8S", "group": "Ungrouped variables", "definition": "1.19*10^(-4)*q8b*q8b", "description": "", "templateType": "anything", "can_override": false}, "XorY": {"name": "XorY", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\"])", "description": "", "templateType": "anything", "can_override": false}, "XorY_name": {"name": "XorY_name", "group": "Ungrouped variables", "definition": "expression(XorY)", "description": "", "templateType": "anything", "can_override": false}, "notXorY": {"name": "notXorY", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"] except XorY)", "description": "", "templateType": "anything", "can_override": false}, "notXorY_name": {"name": "notXorY_name", "group": "Ungrouped variables", "definition": "expression(notXorY)", "description": "", "templateType": "anything", "can_override": false}, "YorX": {"name": "YorX", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\"] except XorY)", "description": "", "templateType": "anything", "can_override": false}, "YorX_name": {"name": "YorX_name", "group": "Ungrouped variables", "definition": "expression(YorX)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["coords", "coords_name", "coords2", "coords2_name", "signp", "signn", "sign_name", "revsign_name", "q13freq", "q13R", "q8b", "q8u", "q8S", "XorY", "XorY_name", "notXorY", "notXorY_name", "YorX", "YorX_name"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": true, "customName": "Question 12", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "The electromagnetic properties of a HIL conductor are described by the relative permittivity $\\varepsilon_r$, the relative permeability $\\mu_r$, and the electrical conductivity $\\sigma$. Choose appropriate expressions for the conduction and displacement current densities in the material.
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$\\sigma \\textbf{E}$ and $\\mu_r \\varepsilon_r \\frac{\\partial \\textbf{E}}{\\partial t}$", "$\\frac{\\textbf{E}}{\\sigma}$ and $\\varepsilon_r \\frac{\\partial \\textbf{D}}{\\partial t}$", "$\\sigma \\textbf{E}$ and $\\varepsilon_r \\varepsilon_0 \\frac{\\partial \\textbf{E}}{\\partial t}$", "$\\sigma E^2$ and $ \\varepsilon_0 \\frac{\\partial \\textbf{E}}{\\partial t}$", "None of these"], "matrix": [0, 0, "1", 0, 0], "distractors": ["", "", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "2240 TT TKY Q13", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Suzanne Imber", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/638/"}, {"name": "Tim Yeoman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4835/"}], "tags": [], "metadata": {"description": "A method of randomly choosing variable names - use the expression() JME function to create a variable name from a randomly chosen string.
(This question also uses a custom marking script to check that the student has simplified the expression)
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "Multiply the numerators together, and then multiply the denominators together, to obtain
\n", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"coords": {"name": "coords", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"])", "description": "", "templateType": "anything", "can_override": false}, "coords_name": {"name": "coords_name", "group": "Ungrouped variables", "definition": "expression(coords)", "description": "", "templateType": "anything", "can_override": false}, "coords2": {"name": "coords2", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"] except coords)", "description": "", "templateType": "anything", "can_override": false}, "coords2_name": {"name": "coords2_name", "group": "Ungrouped variables", "definition": "expression(coords2)", "description": "", "templateType": "anything", "can_override": true}, "signp": {"name": "signp", "group": "Ungrouped variables", "definition": "\"+\"", "description": "", "templateType": "anything", "can_override": false}, "signn": {"name": "signn", "group": "Ungrouped variables", "definition": "\"-\"", "description": "", "templateType": "anything", "can_override": false}, "sign_name": {"name": "sign_name", "group": "Ungrouped variables", "definition": "random(signp,signn)", "description": "", "templateType": "anything", "can_override": false}, "revsign_name": {"name": "revsign_name", "group": "Ungrouped variables", "definition": "random([signp,signn] except sign_name)", "description": "", "templateType": "anything", "can_override": false}, "q13freq": {"name": "q13freq", "group": "Ungrouped variables", "definition": "random(1..3)*100", "description": "frequency variable
", "templateType": "anything", "can_override": false}, "q13R": {"name": "q13R", "group": "Ungrouped variables", "definition": "100*6.54/q13freq", "description": "calculated R value
", "templateType": "anything", "can_override": false}, "q8b": {"name": "q8b", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "magnetic field multiplier
", "templateType": "anything", "can_override": false}, "q8u": {"name": "q8u", "group": "Ungrouped variables", "definition": "3.98*10^(-13)*q8b*q8b", "description": "energy density scaled by b value
", "templateType": "anything", "can_override": false}, "q8S": {"name": "q8S", "group": "Ungrouped variables", "definition": "1.19*10^(-4)*q8b*q8b", "description": "", "templateType": "anything", "can_override": false}, "XorY": {"name": "XorY", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\"])", "description": "", "templateType": "anything", "can_override": false}, "XorY_name": {"name": "XorY_name", "group": "Ungrouped variables", "definition": "expression(XorY)", "description": "", "templateType": "anything", "can_override": false}, "notXorY": {"name": "notXorY", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\",\"z\"] except XorY)", "description": "", "templateType": "anything", "can_override": false}, "notXorY_name": {"name": "notXorY_name", "group": "Ungrouped variables", "definition": "expression(notXorY)", "description": "", "templateType": "anything", "can_override": false}, "YorX": {"name": "YorX", "group": "Ungrouped variables", "definition": "random([\"x\",\"y\"] except XorY)", "description": "", "templateType": "anything", "can_override": false}, "YorX_name": {"name": "YorX_name", "group": "Ungrouped variables", "definition": "expression(YorX)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["coords", "coords_name", "coords2", "coords2_name", "signp", "signn", "sign_name", "revsign_name", "q13freq", "q13R", "q8b", "q8u", "q8S", "XorY", "XorY_name", "notXorY", "notXorY_name", "YorX", "YorX_name"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": true, "customName": "Question 13", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "For silicon, $\\sigma = 4\\times10^{-4}$ (ohm m)$^{-1}$ and $\\varepsilon_r = 11$. The permittivity of free space is $\\varepsilon_0=8.85\\times 10^{-12}$ F m$^{-1}$. A {q13freq} kHz wave propagates in silicon. What is the ratio $R$ of the amplitude of the conduction current divided by the amplitude of the displacement current?
\n$R$ = [[0]]
\n(you can answer in decimal notation (e.g. 0.001) or scientific notation (e.g. 1.2e-5) )
", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "R", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "q13R+0.1", "maxValue": "q13R-0.1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "2240 TT Q14", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Martin Barstow", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5191/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"calc_n": {"name": "calc_n", "group": "Ungrouped variables", "definition": "sqrt(eval*1)", "description": "", "templateType": "anything", "can_override": false}, "frac_dl": {"name": "frac_dl", "group": "Ungrouped variables", "definition": "(1-(1/calc_n))", "description": "", "templateType": "anything", "can_override": false}, "eval": {"name": "eval", "group": "Ungrouped variables", "definition": "random(1.6..3.6)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["calc_n", "frac_dl", "eval"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "An electromagnetic wave passes from a vacuum into a dielectric medium of refractive index {calc_n}.
\nCalculate the fractional change in wavelength.
\nThe fractional change =
", "minValue": "0.9 * frac_dl", "maxValue": "1.1 * frac_dl", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "2240 TT Q15", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Suzanne Imber", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/638/"}, {"name": "Martin Barstow", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5191/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "What is the boundary condition for H between two dielectric media (with no free charge and no conduction current)?
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["The tangential component (only) is continuous", "Both components are continuous", "None of these"], "matrix": ["1", 0, 0], "distractors": ["", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "2240 TT Q16", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Suzanne Imber", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/638/"}, {"name": "Martin Barstow", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5191/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "A plane wave in a vacuum is normally incident on a non-conducting dielectric of relative permittivity $\\epsilon $, and relative permeability $\\mu $. If $\\hat{k}$ is a unit vector in the direction of propagation, how are the electric and magnetic vectors ($\\vec E$ and $\\vec H$) related?
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$ \\vec{H} = \\sqrt{\\frac{\\mu \\mu_0}{\\epsilon \\epsilon_0}} \\hat{k} \\times \\vec E$", "$ \\vec{H} = \\sqrt{\\frac{\\epsilon \\epsilon_0}{\\mu \\mu_0}} \\vec E \\times \\hat{k}$", "$ \\vec{H} = \\sqrt{\\frac{\\epsilon \\epsilon_0}{\\mu \\mu_0}} \\hat{k} \\times \\vec{E}$", "None of these"], "matrix": [0, 0, "1", 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "2240 TT Q17", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Martin Barstow", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5191/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"eval": {"name": "eval", "group": "Ungrouped variables", "definition": "random(1.6..3.6)", "description": "", "templateType": "anything", "can_override": false}, "calc_n": {"name": "calc_n", "group": "Ungrouped variables", "definition": "sqrt(eval*1)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["eval", "calc_n"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "A plane wave in a vacuum is normally incident on a non-conducting dielectric of relative permittivity $\\epsilon $, and relative permeability $\\mu $.
\nIf $\\epsilon $ = {eval} and $\\mu $ = 1.0 compute the value of n.
\nn =
", "minValue": "0.9*calc_n", "maxValue": "1.1*calc_n", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "2240 TT Q18", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Martin Barstow", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5191/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"eval": {"name": "eval", "group": "Ungrouped variables", "definition": "random(1.6..3.6)", "description": "", "templateType": "anything", "can_override": false}, "i_field": {"name": "i_field", "group": "Ungrouped variables", "definition": "random(100.0..300.0)", "description": "", "templateType": "anything", "can_override": false}, "t_field": {"name": "t_field", "group": "Ungrouped variables", "definition": "(i_field*2/(1+calc_n))", "description": "", "templateType": "anything", "can_override": false}, "calc_n": {"name": "calc_n", "group": "Ungrouped variables", "definition": "sqrt(eval*1)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["eval", "i_field", "t_field", "calc_n"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "A plane wave in a vacuum is normally incident on a non-conducting dielectric of relative permittivity $\\epsilon $, and relative permeability $\\mu $.
\nIf $\\epsilon $ = {eval} and $\\mu $ = 1.0 and the value of the incident electric field $\\vec{E_{0I}}$ is {i_field} compute the value of the transmitted field.
\n$\\vec{E{_0T}}$ =
", "minValue": "0.9*t_field", "maxValue": "1.1*t_field", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "2240 TT Q19", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Martin Barstow", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5191/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"eval": {"name": "eval", "group": "Ungrouped variables", "definition": "random(1.6..3.6)", "description": "", "templateType": "anything", "can_override": false}, "trans": {"name": "trans", "group": "Ungrouped variables", "definition": "(4*calc_n/(1+calc_n)^2)", "description": "", "templateType": "anything", "can_override": false}, "calc_n": {"name": "calc_n", "group": "Ungrouped variables", "definition": "sqrt(eval*1)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["eval", "trans", "calc_n"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "A plane wave in a vacuum is normally incident on a non-conducting dielectric of relative permittivity $\\epsilon $, and relative permeability $\\mu $.
\nIf $\\epsilon $ = {eval} and $\\mu $ = 1.0, calculate the transmittance of the dielectric.
\nT =
", "minValue": "0.9*Trans", "maxValue": "1.1*Trans", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "2240 TT Q20", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "contributors": [{"name": "Martin Barstow", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5191/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"eval": {"name": "eval", "group": "Ungrouped variables", "definition": "random(1.6..3.6)", "description": "", "templateType": "anything", "can_override": false}, "reflec": {"name": "reflec", "group": "Ungrouped variables", "definition": "((1-calc_n)/(1+calc_n))^2", "description": "", "templateType": "anything", "can_override": false}, "calc_n": {"name": "calc_n", "group": "Ungrouped variables", "definition": "sqrt(eval*1)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["eval", "reflec", "calc_n"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "A plane wave in a vacuum is normally incident on a non-conducting dielectric of relative permittivity $\\epsilon $, and relative permeability $\\mu $.
\nIf $\\epsilon $ = {eval} and $\\mu $ = 1.0, calculate the Reflectivity of the dielectric.
\nR =
", "minValue": "0.9*Reflec", "maxValue": "1.1*Reflec", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "allowPrinting": true, "navigation": {"allowregen": false, "reverse": true, "browse": false, "allowsteps": false, "showfrontpage": true, "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": true, "typeendtoleave": false, "startpassword": "", "autoSubmit": true, "allowAttemptDownload": false, "downloadEncryptionKey": "", "showresultspage": "oncompletion"}, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "feedback": {"enterreviewmodeimmediately": true, "showactualmarkwhen": "inreview", "showtotalmarkwhen": "always", "showanswerstatewhen": "inreview", "showpartfeedbackmessageswhen": "inreview", "showexpectedanswerswhen": "never", "showadvicewhen": "inreview", "allowrevealanswer": false, "intro": "", "end_message": "", "results_options": {"printquestions": true, "printadvice": true}, "feedbackmessages": [], "reviewshowexpectedanswer": false, "showanswerstate": false, "reviewshowfeedback": true, "showactualmark": false, "showtotalmark": true, "reviewshowscore": true, "reviewshowadvice": true}, "diagnostic": {"knowledge_graph": {"topics": [], "learning_objectives": []}, "script": "diagnosys", "customScript": ""}, "contributors": [{"name": "Martin Barstow", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5191/"}], "extensions": [], "custom_part_types": [], "resources": [["question-resources/term_test_fig.jpg", "/srv/numbas-editor/media/question-resources/b2be908a278178c935cdf07c14f7202ab7d9a2571aee4a9577fadd01b3da0f06.jpg"]]}