// Numbas version: exam_results_page_options {"name": "Find the limit of an algebraic fraction", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "variables": {"a": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(-9..9 except 0)", "description": "", "name": "a"}, "b": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..9 except a)", "description": "", "name": "b"}}, "ungrouped_variables": ["a", "b"], "rulesets": {}, "name": "Find the limit of an algebraic fraction", "showQuestionGroupNames": false, "functions": {}, "parts": [{"scripts": {}, "gaps": [{"answer": "1/{(a-b)}", "vsetrange": [0, 1], "scripts": {}, "checkvariablenames": false, "expectedvariablenames": [], "notallowed": {"showStrings": false, "message": "

Input as a fraction or an integer.

", "strings": ["."], "partialCredit": 0}, "showpreview": true, "checkingtype": "absdiff", "checkingaccuracy": 0.001, "answersimplification": "all", "type": "jme", "showCorrectAnswer": true, "marks": 2, "vsetrangepoints": 5}], "type": "gapfill", "showCorrectAnswer": true, "prompt": "

$\\displaystyle \\simplify{Limit((x + { -a}) / (x ^ 2 + { -a -b} * x + {a * b}),x,{a}) }=\\;$[[0]] (input as a fraction or as an integer).

", "marks": 0}], "statement": "

Find the limit of the following function.

", "tags": ["checked2015", "MAS2224"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "name": "", "pickQuestions": 0}], "preamble": {"css": "", "js": ""}, "type": "question", "metadata": {"notes": "", "licence": "Creative Commons Attribution 4.0 International", "description": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "advice": "

Note that on putting $x=\\var{a}$ into $\\displaystyle \\simplify{(x + { -a}) / (x ^ 2 + { -a -b} * x + {a * b}) }$ we get a $0/0$ case and so we have to do more work.

\n

You can factorise $\\simplify{x ^ 2 + { -a -b} * x + {a * b}}$ and then see what happens. 

", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}