// Numbas version: exam_results_page_options {"name": "Blathnaid's copy of Find the limit of an algebraic fraction as parameter tends to a given value", "extensions": ["jsxgraph"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"preamble": {"css": "", "js": ""}, "rulesets": {}, "extensions": ["jsxgraph"], "advice": "

Graph of $f$.

\n

{plotf(a2,b2,c2,a3,b3,stat1,stat2)}

\n

\n

Note that $\\simplify{{a2} * t ^ 2 + {2 * b2 * a2} * t + {c2 + a2 * b2 ^ 2} ={a2}*(t+{b2})^2+{c2}} \\gt 0$.

\n

Hence the denominator of $f(t) \\neq 0,\\;\\forall t \\in \\mathbb{R}$ and so $f$ is continuous at all points in $\\mathbb{R}$.

\n

This means that in part a) we can take the limit by simply subsituting $t=\\var{d2}$ into the expression for $f(t)$ and we get:

\n

\\[\\lim_{x \\to \\var{d2}}f(t)=\\simplify[all,!otherNumbers,fractionNumbers,!collectNumbers]{({a3} * {d2} + {b3}) / ({a2} * {d2}^ 2 + {2 * b2 * a2} * {d2}+ {c2 + a2 * b2 ^ 2})={v}/{w} }\\]

\n

Similarly in part b) we have :

\n

\\[\\lim_{x \\to a}f(t)=\\simplify[all,!collectNumbers,!otherNumbers,fractionNumbers]{({a3} * a + {b3}) / ({a2} * a^ 2 + {2 * b2 * a2} * a+ {c2 + a2 * b2 ^ 2})}\\]

\n

\n

As noted above we can find this limit by simply putting $t=a$ into the formula for the function as $f$ is continuous at all points in $\\mathbb{R}$.

\n

", "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "

Let the function $f$ be given by $\\displaystyle f(t)=\\simplify{({a3} * t + {b3}) / ({a2} * t ^ 2 + {2 * b2 * a2} * t + {c2 + a2 * b2 ^ 2}) }$

", "ungrouped_variables": ["w", "stat1", "b3", "a3", "a2", "b2", "v", "c2", "d2", "stat2"], "variables": {"d2": {"definition": "random(0..5)", "description": "", "templateType": "anything", "name": "d2", "group": "Ungrouped variables"}, "stat1": {"definition": "(2*a2*b3+sqrt(4*a2^2*b3^2+4*a3*a2*(a3*c2-2*b3*b2*a2+a2*b2^2*a3)))/(-2*a3*a2)", "description": "", "templateType": "anything", "name": "stat1", "group": "Ungrouped variables"}, "a3": {"definition": "random(-9..9 except 0)", "description": "", "templateType": "anything", "name": "a3", "group": "Ungrouped variables"}, "b3": {"definition": "random(-9..9)", "description": "", "templateType": "anything", "name": "b3", "group": "Ungrouped variables"}, "a2": {"definition": "random(1..3)", "description": "", "templateType": "anything", "name": "a2", "group": "Ungrouped variables"}, "v": {"definition": "a3*d2+b3", "description": "", "templateType": "anything", "name": "v", "group": "Ungrouped variables"}, "stat2": {"definition": "(2*a2*b3-sqrt(4*a2^2*b3^2+4*a3*a2*(a3*c2-2*b3*b2*a2+a2*b2^2*a3)))/(-2*a3*a2)", "description": "", "templateType": "anything", "name": "stat2", "group": "Ungrouped variables"}, "b2": {"definition": "-random(1..6)", "description": "", "templateType": "anything", "name": "b2", "group": "Ungrouped variables"}, "c2": {"definition": "random(1..5)", "description": "", "templateType": "anything", "name": "c2", "group": "Ungrouped variables"}, "w": {"definition": "a2*d2^2+2*a2*b2*d2+c2+a2*b2^2", "description": "", "templateType": "anything", "name": "w", "group": "Ungrouped variables"}}, "variable_groups": [], "functions": {"plotf": {"definition": "var f = function(t){ return (a3*t+b3)/(a2*t*t+2*a2*b2*t+c2+a2*b2*b2); };\nvar m1=Math.min(stat1,stat2);\nvar m2=Math.max(stat1,stat2);\nvar f1=f(stat1);\nvar f2=f(stat2);\nvar a=Math.abs(f1);\nvar b=Math.abs(f2);\nvar M=Math.max(a,b);\nvar div = Numbas.extensions.jsxgraph.makeBoard('300px','300px', {axis:true,showNavigation:false,boundingbox:[m1-10,M+2,m2+10,-M-2]});\n\nvar brd=div.board;\n\nvar plot = brd.create('functiongraph',[f,m1-10,m2+10]);\n\n//brd.create('text',[c,-2,c]);\n//var i1 = brd.create('integral', [[0, c], plot]);\n\nreturn div;", "language": "javascript", "type": "html", "parameters": [["a2", "number"], ["b2", "number"], ["c2", "number"], ["a3", "number"], ["b3", "number"], ["stat1", "number"], ["stat2", "number"]]}}, "parts": [{"sortAnswers": false, "variableReplacements": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "scripts": {}, "gaps": [{"failureRate": 1, "variableReplacements": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "scripts": {}, "vsetRangePoints": 5, "checkingType": "absdiff", "notallowed": {"strings": ["."], "message": "

Enter as a fraction or an integer and not as a decimal.

", "partialCredit": 0, "showStrings": false}, "unitTests": [], "variableReplacementStrategy": "originalfirst", "showPreview": true, "extendBaseMarkingAlgorithm": true, "checkVariableNames": false, "expectedVariableNames": [], "vsetRange": [0, 1], "type": "jme", "marks": 1, "checkingAccuracy": 0.001, "answerSimplification": "all, fractionNumbers", "answer": "{v}/{w}", "showFeedbackIcon": true}], "unitTests": [], "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "type": "gapfill", "marks": 0, "showFeedbackIcon": true, "prompt": "

Find the following limit:

\n

$\\displaystyle \\simplify{Limit(f(t),t,{d2}) }= \\;$[[0]].

\n

Enter your answer as a fraction or an integer and not as a decimal.

"}], "name": "Blathnaid's copy of Find the limit of an algebraic fraction as parameter tends to a given value", "tags": [], "type": "question", "contributors": [{"name": "Blathnaid Sheridan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/447/"}, {"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}]}], "contributors": [{"name": "Blathnaid Sheridan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/447/"}, {"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}