// Numbas version: finer_feedback_settings {"name": "Parallel resistors formula", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Parallel resistors formula", "tags": [], "metadata": {"description": "
Two part question, student has to rearrange the parallel resistors formula (stated in the question) to make L_1 or L_2 the subject (variable is chosen randomly), then find the value of this variable when values of the other variables in the formula are given. These values are randomly chosen.
\nNote that the advice for this question has two versions, the one displayed to the student depends on which variable is selected by the question.
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "When two electrical resistors of magnitudes \\(R_1\\) and \\(R_2\\) respectively are connected in parallel the total effective resistance \\(R\\) is given by the formula \\[R=\\frac{R_1R_2}{R_1+R_2}.\\]
", "advice": "We have
\n\\begin{align}R&=\\frac{R_1R_2}{R_1+R_2}\\quad\\text{multiply both sides by }R_1+R_2\\\\R(R_1+R_2)&=R_1R_2\\quad\\text{expand the brackets}\\\\RR_1+RR_2&=R_1R_2\\quad\\text{subtract }RR_1\\text{ from both sides}\\\\RR_2&=R_1R_2-RR_1\\quad\\text{factorise RHS}\\\\RR_2&=R_1(R_2-R)\\quad\\text{divide both sides by } (R_2-R)\\\\R_1&=\\frac{RR_2}{R_2-R}\\end{align}
\n\\begin{align}R&=\\frac{R_1R_2}{R_1+R_2}\\quad\\text{multiply both sides by }R_1+R_2\\\\R(R_1+R_2)&=R_1R_2\\quad\\text{expand the brackets}\\\\RR_1+RR_2&=R_1R_2\\quad\\text{subtract }RR_2\\text{ from both sides}\\\\RR_1&=R_1R_2-RR_2\\quad\\text{factorise RHS}\\\\RR_1&=R_2(R_1-R)\\quad\\text{divide both sides by } (R_1-R)\\\\R_2&=\\frac{RR_1}{R_1-R}\\end{align}
\nGiven \\(R=\\var{L}\\) ohms and \\(\\var{other_var}=\\var{L1}\\) ohms we have
\n\\begin{align}R_1&=\\frac{RR_2}{R_2-R}\\\\&=\\frac{\\var{L}\\times\\var{L1}}{\\var{L1}-\\var{L}}\\\\&\\approx\\var{precround({L}*{L1}/({L1}-{L}),2)}\\text{ ohms}\\end{align}
\n\\begin{align}R_2&=\\frac{RR_1}{R_1-R}\\\\&=\\frac{\\var{L}\\times\\var{L1}}{\\var{L1}-\\var{L}}\\\\&\\approx\\var{precround({L}*{L1}/({L1}-{L}),2)}\\text{ ohms}\\end{align}
", "rulesets": {}, "extensions": [], "builtin_constants": {"e": false, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"L": {"name": "L", "group": "Ungrouped variables", "definition": "random(20..90 #10)", "description": "value of R for substitution part of question, random 20 to 90 in steps of 10
", "templateType": "anything", "can_override": false}, "L1": {"name": "L1", "group": "Ungrouped variables", "definition": "random(100..900 #100)", "description": "Value of \"other_var\" for substitution part of question, random 100 to 900 in steps of 100
", "templateType": "anything", "can_override": false}, "variable": {"name": "variable", "group": "Ungrouped variables", "definition": "[latex('R_1'),latex('R_2')]", "description": "Variables which can be used for rearrangement part of question. Student will be asked to rearrange the parallel resistorss formula with one of these variables as the subject.
", "templateType": "anything", "can_override": false}, "select": {"name": "select", "group": "Ungrouped variables", "definition": "random(0,1)", "description": "selector to determine which variable of the parallel inductors formula is to be the subject - 0 = R_1, 1 = R_2.
", "templateType": "anything", "can_override": false}, "sel_var": {"name": "sel_var", "group": "Ungrouped variables", "definition": "variable[select]", "description": "Variable selected by select
", "templateType": "anything", "can_override": false}, "answers": {"name": "answers", "group": "Ungrouped variables", "definition": "[expression('R*R_2/(R_2-R)'),expression('R*R_1/(R_1-R)')]", "description": "rearrangements of paralell resistors formula for each possible variable
", "templateType": "anything", "can_override": false}, "ans": {"name": "ans", "group": "Ungrouped variables", "definition": "answers[select]", "description": "correct formula for the variable selected by select
", "templateType": "anything", "can_override": false}, "other_var": {"name": "other_var", "group": "Ungrouped variables", "definition": "if(sel_var=\"R_1\",latex('R_2'),latex('R_1'))", "description": "unselected variable from \"variable\"
", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["L", "L1", "variable", "select", "sel_var", "answers", "ans", "other_var"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "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": "Rearrange the formula to make \\(\\var{sel_var}\\) the subject. (Note: to type a variable such as \\(R_1\\), type R_1
, to enter a fraction such as \\(\\frac{a}{b}\\), type a/b
.)
\\(\\var{sel_var}=\\)[[0]] (You must show full working on your ahndwriten working for this part to get full marks)
\nIf \\(R=\\var{L}\\) ohms and \\(\\var{other_var}=\\var{L1}\\) ohms, what is the value of \\(\\var{sel_var}\\)?
\n\\(\\var{sel_var}=\\)[[1]] ohms (answer to 2 decimal places)
", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{answers[select]}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": true, "allowUnknownFunctions": false, "implicitFunctionComposition": true, "caseSensitive": false, "valuegenerators": []}, {"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, "minValue": "{L}*{L1}/({L1}-{L})", "maxValue": "{L}*{L1}/({L1}-{L})", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}]}]}], "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}]}