// Numbas version: finer_feedback_settings {"name": "Butterfly Math", "extensions": [], "custom_part_types": [], "resources": [["question-resources/butterfly1.jpg", "/srv/numbas/media/question-resources/butterfly1.jpg"], ["question-resources/butterfly2.jpg", "/srv/numbas/media/question-resources/butterfly2.jpg"], ["question-resources/butterfly3.jpg", "/srv/numbas/media/question-resources/butterfly3.jpg"], ["question-resources/butterfly4.jpg", "/srv/numbas/media/question-resources/butterfly4.jpg"], ["question-resources/butterfly3_bBOWlNc.jpg", "/srv/numbas/media/question-resources/butterfly3_bBOWlNc.jpg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Butterfly Math", "tags": [], "metadata": {"description": "

subtraction of 2 fractions

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

Solve these problems

", "advice": "

3/4 - 1/5

\n

Connect diagonal numbers in a loop, to form the wings of the butterfly

\n

\n

Then draw the feelers of the butterfly attached to the top of each loop.

\n

Multiply the numbers in one loop and put the product in the space next the the feeler attached to that loop.

\n

3x5=15

\n

Repeat for the next loop and feeler.

\n

4x1=4

\n

\n

Subtract the number in the right feeler from the one in the left feeler and put the difference as the numerator of your answer.

\n

15-4=11

\n

Draw a curved line connecting the bottom of the two loops.

\n

Place the product of the two denominators in the space formed by the curve.

\n

\n

4x5=20

\n

Enter this number as the denominator of your answer.

\n

ANSWER = 11/20

\n

\n

2/7 + 2/3

\n

Do the same thing for the next problem, except add where you subtracted before.

\n

\n

2x3-6

\n

7x2=14

\n

6+14=20

\n

7x3=21

\n

ANSWER = 20/21

\n

", "rulesets": {}, "extensions": [], "variables": {"denom1": {"name": "denom1", "group": "Ungrouped variables", "definition": "ca", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "numerator", "definition": "random(1 .. 7#1)", "description": "

numerator

", "templateType": "randrange"}, "c": {"name": "c", "group": "numerator", "definition": "random(1 .. 7#1)", "description": "

numerator

", "templateType": "randrange"}, "b": {"name": "b", "group": "denominator", "definition": "random(3 .. 9#1)", "description": "

denominator

", "templateType": "randrange"}, "d": {"name": "d", "group": "denominator", "definition": "random(3 .. 9#1)", "description": "

denominator

", "templateType": "randrange"}, "fract2": {"name": "fract2", "group": "Ungrouped variables", "definition": "a/b>c/d", "description": "", "templateType": "anything"}, "fract3": {"name": "fract3", "group": "Ungrouped variables", "definition": "a/b<1>c/d", "description": "", "templateType": "anything"}, "fract4": {"name": "fract4", "group": "Ungrouped variables", "definition": "x/y<1>w/z", "description": "", "templateType": "anything"}, "x": {"name": "x", "group": "numerator", "definition": "random(1 .. 7#1)", "description": "

numberator

", "templateType": "randrange"}, "w": {"name": "w", "group": "numerator", "definition": "random(3 .. 9#1)", "description": "

denominator

", "templateType": "randrange"}, "y": {"name": "y", "group": "denominator", "definition": "random(1 .. 7#1)", "description": "

numnerator

", "templateType": "randrange"}, "z": {"name": "z", "group": "denominator", "definition": "random(3 .. 7#1)", "description": "

denominator

", "templateType": "randrange"}, "denom3": {"name": "denom3", "group": "Ungrouped variables", "definition": "wx", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["denom1", "fract2", "fract3", "fract4", "denom3"], "variable_groups": [{"name": "numerator", "variables": ["a", "c", "x", "w"]}, {"name": "denominator", "variables": ["b", "d", "y", "z"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

3/4 - 1/5

", "answer": "11/20", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

2/7 + 2/3

", "answer": "20/21", "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": "question", "contributors": [{"name": "Maureen Clement", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/10374/"}]}]}], "contributors": [{"name": "Maureen Clement", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/10374/"}]}