// Numbas version: finer_feedback_settings {"name": "Parallel inductors formula", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Parallel inductors formula", "tags": [], "metadata": {"description": "

Two part question, student has to rearrange the parallel inductors 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.

\n

Note 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 inductors of magnitudes \\(L_1\\) and \\(L_2\\) respectively are connected in parallel the total effective inductance \\(L\\) is given by the formula \\[L=\\frac{L_1L_2}{L_1+L_2}.\\]

", "advice": "

We have

\n

\\begin{align}L&=\\frac{L_1L_2}{L_1+L_2}\\quad\\text{multiply both sides by }L_1+L_2\\\\L(L_1+L_2)&=L_1L_2\\quad\\text{expand the brackets}\\\\LL_1+LL_2&=L_1L_2\\quad\\text{subtract }LL_1\\text{ from both sides}\\\\LL_2&=L_1L_2-LL_1\\quad\\text{factorise RHS}\\\\LL_2&=L_1(L_2-L)\\quad\\text{divide both sides by } (L_2-L)\\\\L_1&=\\frac{LL_2}{L_2-L}\\end{align}

\n

\\begin{align}L&=\\frac{L_1L_2}{L_1+L_2}\\quad\\text{multiply both sides by }L_1+L_2\\\\L(L_1+L_2)&=L_1L_2\\quad\\text{expand the brackets}\\\\LL_1+LL_2&=L_1L_2\\quad\\text{subtract }LL_2\\text{ from both sides}\\\\LL_1&=L_1L_2-LL_2\\quad\\text{factorise RHS}\\\\LL_1&=L_2(L_1-L)\\quad\\text{divide both sides by } (L_1-L)\\\\L_2&=\\frac{LL_1}{L_1-L}\\end{align}

\n

Given \\(L=\\var{L}\\) mH and \\(\\var{other_var}=\\var{L1}\\) mH we have 

\n

\\begin{align}L_1&=\\frac{LL_2}{L_2-L}\\\\&=\\frac{\\var{L}\\times\\var{L1}}{\\var{L1}-\\var{L}}\\\\&\\approx\\var{precround({L}*{L1}/({L1}-{L}),2)}\\text{ mH}\\end{align}

\n

\\begin{align}L_2&=\\frac{LL_1}{L_1-L}\\\\&=\\frac{\\var{L}\\times\\var{L1}}{\\var{L1}-\\var{L}}\\\\&\\approx\\var{precround({L}*{L1}/({L1}-{L}),2)}\\text{ mH}\\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 L 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('L_1'),latex('L_2')]", "description": "

Variables which can be used for rearrangement part of question. Student will be asked to rearrange the parallel inductors 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 = L_1, 1 = L_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('L*L_2/(L_2-L)'),expression('L*L_1/(L_1-L)')]", "description": "

rearrangements of paralell inductors 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=\"L_1\",latex('L_2'),latex('L_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 \\(L_1\\), type L_1, to enter a fraction such as \\(\\frac{a}{b}\\), type a/b.)

\n

\\(\\var{sel_var}=\\)[[0]] (You must upload full working for this part to get full marks)

\n

If \\(L=\\var{L}\\) mH and \\(\\var{other_var}=\\var{L1}\\) mH, what is the value of \\(\\var{sel_var}\\)?

\n

\\(\\var{sel_var}=\\)[[1]] mH (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": "{ans}", "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/"}]}