// Numbas version: exam_results_page_options {"name": "Integration", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Integration", "tags": [], "metadata": {"description": "

Students must find $\\int \\frac{1}{x-a} \\, dx$.

", "licence": "Creative Commons Attribution-NonCommercial 4.0 International"}, "statement": "

Integrate the following,

", "advice": "

Using the method of substitution with $u = \\simplify{x-{a}}$, we see that $du = dx$ and so \\[\\int \\simplify{1/(x-{a})} \\, dx = \\int \\frac{1}{u} \\, du = \\ln{u} + c = \\ln{(\\simplify{x-{a}})} + c.\\] The answer is therefore $\\ln{(\\simplify{x-{a}})}$

", "rulesets": {}, "extensions": [], "variables": {"limLo": {"name": "limLo", "group": "Ungrouped variables", "definition": "a+random(1..5)", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-5..5 except 0)", "description": "", "templateType": "anything"}, "limHi": {"name": "limHi", "group": "Ungrouped variables", "definition": "limLo+random(1..5)", "description": "", "templateType": "anything"}, "lims": {"name": "lims", "group": "Ungrouped variables", "definition": "[limLo,limHi]", "description": "", "templateType": "anything"}, "intLims": {"name": "intLims", "group": "Ungrouped variables", "definition": "map(\n ln(x-a),\n x,\n lims\n )", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "lims", "intLims", "limLo", "limHi"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

\\[\\int \\simplify{1/(x-{a})} dx \\,\\] = [[0]] $+C$

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "ln(x-{a})", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": [{"name": "x", "value": ""}]}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Simon Vaughan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1135/"}]}]}], "contributors": [{"name": "Simon Vaughan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1135/"}]}