// Numbas version: finer_feedback_settings {"name": "Arithmetic of Fractions 3", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Arithmetic of Fractions 3", "tags": [], "metadata": {"description": "
Multlipying and subtracting mixed numbers. It is expected that a calculator is used to perform this question.
", "licence": "None specified"}, "statement": "Calculate the following, giving your answer to two decimal places:
", "advice": "Firstly convert mixed numbers to improper fractions, for example:
\n$a\\frac{b}{c}=\\frac{(a\\times c)+b}{c}$
\nSo,
\n$\\var{x}\\simplify{{a}/{b}}$ = $\\simplify{{n1}/{b}}$
\n$\\var{y}\\simplify{{c}/{d}}$ = $\\simplify{{n2}/{d}}$
\n$\\var{z}\\simplify{{f}/{g}}$ = $\\simplify{{n3}/{g}}$
\nAnd, the question becomes:
\n$\\simplify{{n1}/{b}} \\times \\simplify{{n2}/{d}} - \\simplify{{n3}/{g}}$
\nConsider Order of Operations, multiplication is performed before addition or subtraction.
\n$\\simplify{({n1}*{n2})/({b}*{d})} - \\simplify{{n3}/{g}}$
\nLastly, the fractions are subtracted and the answer expressed to two decimal places
\n$\\var{ans_r}$
\n\n", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2..10 except a)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(2..10 except c)", "description": "", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything", "can_override": false}, "g": {"name": "g", "group": "Ungrouped variables", "definition": "random(2..10 except f)", "description": "", "templateType": "anything", "can_override": false}, "x": {"name": "x", "group": "Ungrouped variables", "definition": "random(1..8)", "description": "", "templateType": "anything", "can_override": false}, "y": {"name": "y", "group": "Ungrouped variables", "definition": "random(1..8)", "description": "", "templateType": "anything", "can_override": false}, "z": {"name": "z", "group": "Ungrouped variables", "definition": "random(1..8)", "description": "", "templateType": "anything", "can_override": false}, "n1": {"name": "n1", "group": "Ungrouped variables", "definition": "(x*b)+a", "description": "", "templateType": "anything", "can_override": false}, "n2": {"name": "n2", "group": "Ungrouped variables", "definition": "(y*d)+c", "description": "", "templateType": "anything", "can_override": false}, "n3": {"name": "n3", "group": "Ungrouped variables", "definition": "(z*g)+f", "description": "", "templateType": "anything", "can_override": false}, "answer": {"name": "answer", "group": "Ungrouped variables", "definition": "(x+a/b)*(y+c/d)-(z+f/g)", "description": "", "templateType": "anything", "can_override": false}, "ans_r": {"name": "ans_r", "group": "Ungrouped variables", "definition": "dpformat(answer,2)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "b>a and d>c and g>f", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "x", "y", "z", "n1", "n2", "n3", "answer", "ans_r"], "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": "$\\var{x}\\simplify{{a}/{b}} \\times \\var{y}\\simplify{{c}/{d}} - \\var{z}\\simplify{{f}/{g}}$
\n[[0]]
", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "9", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "answer", "maxValue": "answer", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Katie Bullen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2255/"}], "resources": []}]}], "contributors": [{"name": "Katie Bullen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2255/"}]}