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

Write fractions as sums of unit fractions

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

Suppose there are two fractions $\\var[fractionNumbers]{d}$ and $\\var[fractionNumbers]{f}$.

", "advice": "

a) Mögliche Lösungen sind (es gibt verschiedene Darstellungen):

\n

$\\var[fractionNumbers]{d}=\\var[fractionNumbers]{a}+\\var[fractionNumbers]{b}+\\var[fractionNumbers]{c}$ und $\\var[fractionNumbers]{f}=\\var[fractionNumbers]{h1}+\\var[fractionNumbers]{b}+\\var[fractionNumbers]{h2}$

\n

b) $\\var[fractionNumbers]{g}$

\n

", "rulesets": {}, "extensions": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "1/(random(1..2)*2)", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "1/(2*(((1/a)+random(1..2)))-1)", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "a/4", "description": "", "templateType": "anything"}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "a+b+c", "description": "", "templateType": "anything"}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "a+b-c", "description": "", "templateType": "anything"}, "g": {"name": "g", "group": "Ungrouped variables", "definition": "d-f", "description": "", "templateType": "anything"}, "h1": {"name": "h1", "group": "Ungrouped variables", "definition": "a/2", "description": "", "templateType": "anything"}, "h2": {"name": "h2", "group": "Ungrouped variables", "definition": "a/4", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "h1", "h2"], "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": "

Find a representation for both fractions in the form of an Egyptian fraction (as a sum of unit fractions)!

\n

$\\var[fractionNumbers]{d}$=[[0]] $\\quad\\var[fractionNumbers]{f}$= [[1]]

\n

Note: Please write your answer as e.g. 1/9+1/16+...

\n

", "gaps": [{"type": "jme", "useCustomName": true, "customName": "FirstUnitFraction", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{d}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": true, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "mustmatchpattern": {"pattern": "(`+( 1/($n) ))`* + $z", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": []}, {"type": "jme", "useCustomName": true, "customName": "SecondUnitFraction", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{f}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": true, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "mustmatchpattern": {"pattern": "(`+( 1/($n) ))`* + $z", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": []}], "sortAnswers": false}, {"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": "

Calculate the difference $\\var[fractionNumbers]{d}-\\var[fractionNumbers]{f}$ of the converted fractions (as Egyptian fraction).

\n

", "answer": "{g}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": true, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "mustmatchpattern": {"pattern": "( 1/($n) )", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": []}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Andreas Vohns", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3622/"}]}]}], "contributors": [{"name": "Andreas Vohns", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3622/"}]}