// Numbas version: exam_results_page_options {"name": "Limit 1", "extensions": ["jsxgraph"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": [], "name": "Limit 1", "parts": [{"customMarkingAlgorithm": "", "variableReplacements": [], "sortAnswers": false, "marks": 0, "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.

", "type": "gapfill", "gaps": [{"expectedVariableNames": [], "notallowed": {"strings": ["."], "partialCredit": 0, "message": "

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

", "showStrings": false}, "customMarkingAlgorithm": "", "checkingAccuracy": 0.001, "variableReplacements": [], "showPreview": true, "scripts": {}, "checkVariableNames": false, "vsetRangePoints": 5, "type": "jme", "failureRate": 1, "showCorrectAnswer": true, "marks": 1, "variableReplacementStrategy": "originalfirst", "vsetRange": [0, 1], "unitTests": [], "extendBaseMarkingAlgorithm": true, "answerSimplification": "all, fractionNumbers", "checkingType": "absdiff", "answer": "{v}/{w}", "showFeedbackIcon": true}], "scripts": {}, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "unitTests": [], "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}], "ungrouped_variables": ["w", "stat1", "b3", "a3", "a2", "b2", "v", "c2", "d2", "stat2"], "variablesTest": {"maxRuns": 100, "condition": ""}, "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "variable_groups": [], "variables": {"v": {"templateType": "anything", "definition": "a3*d2+b3", "description": "", "name": "v", "group": "Ungrouped variables"}, "w": {"templateType": "anything", "definition": "a2*d2^2+2*a2*b2*d2+c2+a2*b2^2", "description": "", "name": "w", "group": "Ungrouped variables"}, "a2": {"templateType": "anything", "definition": "random(1..3)", "description": "", "name": "a2", "group": "Ungrouped variables"}, "stat1": {"templateType": "anything", "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": "", "name": "stat1", "group": "Ungrouped variables"}, "stat2": {"templateType": "anything", "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": "", "name": "stat2", "group": "Ungrouped variables"}, "a3": {"templateType": "anything", "definition": "random(-9..9 except 0)", "description": "", "name": "a3", "group": "Ungrouped variables"}, "d2": {"templateType": "anything", "definition": "random(0..5)", "description": "", "name": "d2", "group": "Ungrouped variables"}, "b3": {"templateType": "anything", "definition": "random(-9..9)", "description": "", "name": "b3", "group": "Ungrouped variables"}, "c2": {"templateType": "anything", "definition": "random(1..5)", "description": "", "name": "c2", "group": "Ungrouped variables"}, "b2": {"templateType": "anything", "definition": "-random(1..6)", "description": "", "name": "b2", "group": "Ungrouped variables"}}, "functions": {"plotf": {"parameters": [["a2", "number"], ["b2", "number"], ["c2", "number"], ["a3", "number"], ["b3", "number"], ["stat1", "number"], ["stat2", "number"]], "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"}}, "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

", "preamble": {"css": "", "js": ""}, "rulesets": {}, "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}) }$

", "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/"}, {"name": "Johnny Yi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2810/"}]}]}], "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/"}, {"name": "Johnny Yi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2810/"}]}