// Numbas version: exam_results_page_options {"name": "Tony's copy of Evaluate a limit", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "ungrouped_variables": ["a", "b"], "advice": "

\\(\\displaystyle{\\lim_{x \\to \\var{a}}}\\frac{x-\\var{a}}{x^2-\\simplify{{a}+{b}}x+\\simplify{{a}*{b}}}\\)

\n

We can factorise the denominator

\n

\\(\\displaystyle{\\lim_{x \\to \\var{a}}}\\frac{x-\\var{a}}{(x-\\var{a})(x-\\var{b})}\\)

\n

Cancel out the common factor

\n

\\(\\displaystyle{\\lim_{x \\to \\var{a}}}\\frac{1}{x-\\var{b}}\\)

\n

Insert the value \\(\\var{a}\\) in for \\(x\\) to evaluate the limit

\n

\\(-\\frac{1}{\\simplify{{b}-{a}}}\\)

\n

", "preamble": {"js": "", "css": ""}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Evaluate a limit

"}, "parts": [{"unitTests": [], "type": "gapfill", "scripts": {}, "marks": 0, "variableReplacements": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "gaps": [{"vsetRange": [0, 1], "unitTests": [], "type": "jme", "expectedVariableNames": [], "checkingType": "absdiff", "scripts": {}, "marks": 1, "variableReplacements": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "failureRate": 1, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "showPreview": true, "extendBaseMarkingAlgorithm": true, "checkVariableNames": false, "vsetRangePoints": 5, "answer": "+inf", "checkingAccuracy": 0.001}], "prompt": "

Pour des limites infinies, noter soit +inf soit -inf

", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "sortAnswers": false}, {"unitTests": [], "type": "gapfill", "scripts": {}, "marks": 0, "variableReplacements": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "gaps": [{"vsetRange": [0, 1], "unitTests": [], "type": "jme", "expectedVariableNames": [], "checkingType": "absdiff", "scripts": {}, "marks": 1, "variableReplacements": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "failureRate": 1, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "showPreview": true, "extendBaseMarkingAlgorithm": true, "checkVariableNames": false, "vsetRangePoints": 5, "answer": "+inf", "checkingAccuracy": 0.001}], "prompt": "\n

[[0]]

", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "sortAnswers": false}, {"unitTests": [], "type": "gapfill", "scripts": {}, "marks": 0, "variableReplacements": [], "customMarkingAlgorithm": "", "gaps": [{"vsetRange": [0, 1], "unitTests": [], "type": "jme", "expectedVariableNames": [], "checkingType": "absdiff", "scripts": {}, "marks": 1, "variableReplacements": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "failureRate": 1, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "showPreview": true, "extendBaseMarkingAlgorithm": true, "checkVariableNames": false, "vsetRangePoints": 5, "answer": "-inf", "checkingAccuracy": 0.001}], "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "showCorrectAnswer": true}, {"unitTests": [], "type": "gapfill", "scripts": {}, "marks": 0, "variableReplacements": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "gaps": [{"vsetRange": [0, 1], "unitTests": [], "type": "jme", "expectedVariableNames": [], "checkingType": "absdiff", "scripts": {}, "marks": 1, "variableReplacements": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "failureRate": 1, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "showPreview": true, "extendBaseMarkingAlgorithm": true, "checkVariableNames": false, "vsetRangePoints": 5, "answer": "+inf", "checkingAccuracy": 0.001}], "prompt": "\n

[[0]]

", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "sortAnswers": false}], "tags": [], "variable_groups": [], "statement": "

Déterminer les limites suivantes

\n
    \n
  1.  \\(\\displaystyle{\\lim_{x \\to +\\infty}}x^2+x+1\\)
  2. \n
  3.  \\(\\displaystyle{\\lim_{x \\to -\\infty}}x^2+x+1\\)
  4. \n
  5.  \\(\\displaystyle{\\lim_{x \\to 0}}e^x+ln(x)\\)
  6. \n
  7.  \\(\\displaystyle{\\lim_{x \\to +\\infty}}\\frac{e^x+ln(x)}{x}\\)
  8. \n
\n

\n
", "name": "Tony's copy of Evaluate a limit", "variables": {"b": {"group": "Ungrouped variables", "name": "b", "templateType": "randrange", "definition": "random(6..15#1)", "description": ""}, "a": {"group": "Ungrouped variables", "name": "a", "templateType": "randrange", "definition": "random(1..8#1)", "description": ""}}, "variablesTest": {"condition": "a