// Numbas version: finer_feedback_settings {"name": "Addition/Subtraction of Algebraic Fractions", "extensions": ["eukleides", "jsxgraph"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Addition/Subtraction of Algebraic Fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "http://localhost:8000/accounts/profile/1/"}, {"name": "Christian Lawson-Perfect", "profile_url": "http://localhost:8000/accounts/profile/1/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "tags": ["category: algebra methods", "leads to: 404, L.c.d. of an algebraic fraction", "leads to: 405, Identification of common errors", "skill: 308, Add/subtract algebraic fractions"], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "variables": {"groups": {"name": "groups", "group": "Ungrouped variables", "definition": "[\n [\"3/(x+1)+2/(x+2)\",\"(x+1)(x+2)\",\"5x+8\"],\n [\"4/(x-1)+3/(x+3)\",\"(x-1)(x+3)\",\"7x+9\"],\n [\"2/(x-2)+3/(x-1)\",\"(x-2)(x-1)\",\"5x-8\"],\n [\"3/(x+3)-1/(x+1)\",\"(x+3)(x+1)\",\"2x\"],\n [\"2/(x-2)-1/(x+2)\",\"(x-2)(x+2)\",\"x+6\"]\n]", "description": "", "templateType": "anything"}, "group": {"name": "group", "group": "Ungrouped variables", "definition": "random(groups)", "description": "", "templateType": "anything"}, "expr": {"name": "expr", "group": "Ungrouped variables", "definition": "expression(group[0])", "description": "", "templateType": "anything"}, "denom": {"name": "denom", "group": "Ungrouped variables", "definition": "expression(group[1])", "description": "", "templateType": "anything"}, "numerator": {"name": "numerator", "group": "Ungrouped variables", "definition": "expression(group[2])", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["groups", "group", "expr", "denom", "numerator"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"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, "prompt": "

Two fractions are put over a common denominator as shown:

\n

\\[ \\var{expr} = \\frac{?}{\\var{denom}} \\]

\n

Enter the numerator (shown as $?$) in simplified form:

", "answer": "{numerator}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": []}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "exam"}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "http://localhost:8000/accounts/profile/1/"}, {"name": "Christian Lawson-Perfect", "profile_url": "http://localhost:8000/accounts/profile/1/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}