// Numbas version: exam_results_page_options {"name": "Adding rational functions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "b", "c"], "name": "Adding rational functions", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"prompt": "

[[0]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "all", "scripts": {}, "answer": "(2x^2+({a}+{b}+1)x+{a}*{b}+{b}-{a}^2)/((x^2-{a}^2)(x+{b}))", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "

Turn the following expression into a single fraction whose denominator is in the simplest form possible.

\n

\\[\\frac {1}{x-\\var{a}}+\\frac{1}{x^2-\\var{c}}+\\frac{1}{x+\\var{b}}\\]

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(1..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "{a}*{a}", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(6..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}}, "metadata": {"notes": "

Needs to find the LCM of the denominators.

", "description": "

Adding several rational functions.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Sanka Balasuriya", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/738/"}]}]}], "contributors": [{"name": "Sanka Balasuriya", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/738/"}]}