// Numbas version: finer_feedback_settings {"name": "Repeated linear factor partial fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"b": {"templateType": "randrange", "definition": "random(5..8#1)", "description": "", "name": "b", "group": "Ungrouped variables"}, "T": {"templateType": "randrange", "definition": "random(1..20#1)", "description": "", "name": "T", "group": "Ungrouped variables"}, "a": {"templateType": "randrange", "definition": "random(1..4#1)", "description": "", "name": "a", "group": "Ungrouped variables"}, "R": {"templateType": "randrange", "definition": "random(2..12#1)", "description": "", "name": "R", "group": "Ungrouped variables"}}, "metadata": {"description": "

Manipulation of algebraic fractions

", "licence": "Creative Commons Attribution 4.0 International"}, "ungrouped_variables": ["a", "b", "T", "R"], "parts": [{"type": "gapfill", "marks": 0, "prompt": "

Express your answer as a sum of three fractions:

\n

               \\(I(s) =\\) [[0]]

", "gaps": [{"type": "jme", "marks": "3", "answer": "(({T}-{a}*{R})/(({b}-{a})^2))/(s+{a})+((-{T}+{a}*{R})/(({b}-{a})^2))/(s+{b})+(({T}-{b}*{R})/(({a}-{b})))/(s+{b})^2", "expectedvariablenames": [], "showCorrectAnswer": true, "variableReplacements": [], "scripts": {}, "checkingaccuracy": 0.001, "vsetrangepoints": 5, "showpreview": true, "checkvariablenames": false, "vsetrange": [0, 1], "showFeedbackIcon": true, "checkingtype": "absdiff", "variableReplacementStrategy": "originalfirst"}], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}}], "variablesTest": {"condition": "", "maxRuns": 100}, "extensions": [], "tags": [], "variable_groups": [], "advice": "

\\(\\frac{\\var{R}s+\\var{T}}{(s+\\var{a})(s+\\var{b})^2}=\\frac{A}{s+\\var{a}}+\\frac{B}{s+\\var{b}}+\\frac{C}{(s+\\var{b})^2}\\)

\n

Mutiply across by the denominator \\((s+\\var{a})(s+\\var{b})^2\\) to get

\n

\\(\\var{R}s+\\var{T}=A(s+\\var{b})^2+B(s+\\var{a})(s+\\var{b})+C(s+\\var{a})\\)

\n

let s = \\(-\\var{a}\\)

\n

\\(\\simplify{{R}*{-{a}}+{T}}=\\simplify{(-{a}+{b})*(-{a}+{b})}A\\)

\n

\\(A=\\simplify{{{R}*{-{a}}+{T}}/((-{a}+{b})*(-{a}+{b}))}\\)

\n

let s = \\(-\\var{b}\\)

\n

\\(\\simplify{{R}*{-{b}}+{T}}=\\simplify{(-{b}+{a})}C\\)

\n

\\(C=\\simplify{{{R}*{-{b}}+{T}}/((-{b}+{a}))}\\)

\n

coefficient of \\(s^2\\) = 

\n

\\(0=A+B\\)

\n

\\(B=-A\\)

\n

\\(B=\\simplify{{{R}*{{a}}-{T}}/((-{a}+{b})*(-{a}+{b}))}\\)

", "preamble": {"css": "", "js": ""}, "functions": {}, "rulesets": {}, "statement": "

Determine the partial fraction breakdown of the following expression:

\n

     \\(I(s)=\\frac{\\var{R}s+\\var{T}}{(s+\\var{a})(s+\\var{b})^2}\\)

", "name": "Repeated linear factor partial fractions", "type": "question", "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}]}]}], "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}]}