// Numbas version: exam_results_page_options {"name": "Luis's copy of 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": [{"variablesTest": {"condition": "", "maxRuns": 100}, "parts": [{"gaps": [{"answer": "1/{(a-b)}", "vsetrange": [0, 1], "notallowed": {"showStrings": false, "partialCredit": 0, "strings": ["."], "message": "

Input as a fraction or an integer.

"}, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "checkingaccuracy": 0.001, "showpreview": true, "showCorrectAnswer": true, "marks": 2, "checkvariablenames": false, "expectedvariablenames": [], "answersimplification": "all", "vsetrangepoints": 5}], "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).

", "scripts": {}, "marks": 0, "type": "gapfill"}], "name": "Luis's copy of Find the limit of an algebraic fraction", "ungrouped_variables": ["a", "b"], "variables": {"a": {"description": "", "definition": "random(-9..9 except 0)", "templateType": "anything", "name": "a", "group": "Ungrouped variables"}, "b": {"description": "", "definition": "random(1..9 except a)", "templateType": "anything", "name": "b", "group": "Ungrouped variables"}}, "preamble": {"css": "", "js": ""}, "statement": "

Find the limit of the following function.

", "metadata": {"description": "", "notes": "", "licence": "Creative Commons Attribution 4.0 International"}, "rulesets": {}, "functions": {}, "variable_groups": [], "question_groups": [{"questions": [], "pickQuestions": 0, "name": "", "pickingStrategy": "all-ordered"}], "showQuestionGroupNames": false, "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. 

", "type": "question", "tags": ["checked2015", "MAS2224"], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}