// Numbas version: finer_feedback_settings {"name": "Parallel RL Circuit Resistance", "extensions": [], "custom_part_types": [], "resources": [["question-resources/circuit.webp", "/srv/numbas/media/question-resources/circuit.webp"], ["question-resources/circuit.png", "/srv/numbas/media/question-resources/circuit.png"], ["question-resources/Series.png", "/srv/numbas/media/question-resources/Series.png"], ["question-resources/parallel.png", "/srv/numbas/media/question-resources/parallel.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Parallel RL Circuit Resistance", "tags": [], "metadata": {"description": "
Finding the resistance in a simple parallel RL circuit.
", "licence": "All rights reserved"}, "statement": "Write your answer in the gap shown:
", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"A": {"name": "A", "group": "Ungrouped variables", "definition": "random(1 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "V": {"name": "V", "group": "Ungrouped variables", "definition": "random(100 .. 500#10)", "description": "", "templateType": "randrange", "can_override": false}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "50", "description": "", "templateType": "number", "can_override": false}, "L": {"name": "L", "group": "Ungrouped variables", "definition": "round(1000*XL/(2*pi*f))", "description": "", "templateType": "anything", "can_override": false}, "R": {"name": "R", "group": "Ungrouped variables", "definition": "V/sqrt((A)^2 - (V/(2*pi*f*L/1000))^2)", "description": "", "templateType": "anything", "can_override": false}, "Y": {"name": "Y", "group": "Ungrouped variables", "definition": "A/V", "description": "", "templateType": "anything", "can_override": false}, "pf": {"name": "pf", "group": "Ungrouped variables", "definition": "random(0.1 .. 0.9#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "XL": {"name": "XL", "group": "Ungrouped variables", "definition": "1/(Y*(1-pf))", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["V", "A", "Y", "pf", "XL", "L", "f", "R"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": true, "customName": "Parallel Resistance", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "The supply across the terminals of this circuit is {V} V, {f} Hz.
\nAn ammeter is connected to the supply.
\n\nThe inductance, L is {L} mH.
\nThe ammeter reading the supply current shows {A} A.
\nFind the resistance:
\nR = [[0]] $\\Omega$
\n\n", "stepsPenalty": 0, "steps": [{"type": "information", "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": "