// Numbas version: finer_feedback_settings {"name": " Numbers II: using fractions (advanced operations)", "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", "d", "f", "g", "j", "m", "p", "q", "r", "t", "v", "x", "z", "bb", "dd", "ff", "hh", "jj", "ll", "nn", "pp", "rr", "tt", "h", "k", "l", "n", "o", "s", "u", "w", "y", "aa", "cc", "ee", "gg", "ii", "kk", "mm", "oo", "qq", "ss", "int", "pow", "ddd", "fff", "pow3"], "name": " Numbers II: using fractions (advanced operations)", "tags": [], "advice": "

Mixed fractions:

\n

When converting a mixed fraction into a top heavy fraction it will help to see the integer as a fraction of the denominator. Any integer can first be converted into a fraction by dividing by one. Then scale up to have a common denominator.

\n

E.g. $3\\frac{2}{4} = \\frac{3}{1}+\\frac{2}{4}$

\n

Now you have a simple addition question where you need to scale up to find a common denominator: $\\frac{12}{4}+\\frac{2}{4} = \\frac{14}{4}$

\n

You can now convert $\\frac{14}{4}$ into a mixed fraction by deducing how many times 4 goes into 14. 4 goes into 14 3 times with a remainder of 2. This equates to $3\\frac{2}{4}$ which further cancels to $3\\frac{1}{2}$.

\n

\n

Powers/roots:

\n

It is useful to know that $(\\frac{a}{b})^c = \\frac{a^c}{b^c}$

\n

and $\\sqrt[c]\\frac{a}{b}$ is the same as $\\frac{\\sqrt[c]{a}}{\\sqrt[c]{b}}$

\n

BODMAS:

\n

BODMAS tells us the order which we carry out operations. B stands for brackets, O for orders, D for division, M for multiplication, A for addition and S for subtraction. 

\n

Therefore calculating a question with BODMAS laws in mind gives a mathematically accurate answer as the operations are carried out in the correct order.

\n

Start from B and working in order of priority of order until S.

", "rulesets": {}, "parts": [{"stepsPenalty": 0, "prompt": "

What is the answer to $\\var{int}\\frac{\\var{a}}{\\var{b}} \\times \\frac{\\var{c}}{\\var{b}}$?

\n

Give your answer as a fraction.

", "allowFractions": true, "variableReplacements": [], "maxValue": "((({int}*b)+a)*c)/(b*b)", "minValue": "((({int}*b)+a)*c)/(b*b)", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "steps": [{"variableReplacements": [], "prompt": "

What does the first equation $\\var{int}\\frac{\\var{a}}{\\var{b}}$ equate to as a top heavy fraction?

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": false, "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": false, "scripts": {}, "answer": "(({int}*{b})+{a})/{b}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"prompt": "

Multiply the two numerators as you would with the original question, using the new numerator calculated above.

", "allowFractions": false, "variableReplacements": [], "maxValue": "({int}*{b}+{a})*c", "minValue": "({int}*{b}+{a})*c", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"prompt": "

Now, multiply the denominators

", "allowFractions": false, "variableReplacements": [], "maxValue": "b*b", "minValue": "b*b", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"prompt": "

Put into a fraction

", "allowFractions": true, "variableReplacements": [], "maxValue": "({int}*{b}+{a})*{C}/(b*b)", "minValue": "({int}*{b}+{a})*{c}/(b*b)", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "marks": "3", "scripts": {}, "showCorrectAnswer": true, "type": "numberentry", "showPrecisionHint": false}, {"stepsPenalty": 0, "prompt": "

What is the answer to $\\frac{\\var{d}}{\\var{f}} \\div \\frac{\\var{g}}{\\var{f}}$?

\n

Give your answer as a fraction.

", "allowFractions": true, "variableReplacements": [], "maxValue": "d/g", "minValue": "d/g", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "steps": [{"prompt": "

Filp the second fraction

", "allowFractions": true, "variableReplacements": [], "maxValue": "f/g", "minValue": "f/g", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"prompt": "

Multiply the fractions as above

", "allowFractions": true, "variableReplacements": [], "maxValue": "(d*f)/(g*f)", "minValue": "(d*f)/(g*f)", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "marks": "3", "scripts": {}, "showCorrectAnswer": true, "type": "numberentry", "showPrecisionHint": false}, {"stepsPenalty": 0, "variableReplacements": [], "prompt": "

What is the answer to $(\\frac{\\var{ddd}}{\\var{fff}})^{\\var{pow3}}$?

\n

Give your answer as a fraction in its simplest form.

\n

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

Please note:

\n

Rather than typing the above question straight into your calculator, you can alternatively think of the question as $\\frac{\\var{ddd}^{\\var{pow3}}}{\\var{fff}^{\\var{pow3}}}$

\n

Similarly, with roots, instead of typing $\\sqrt[\\var{pow3}]\\frac{\\var{ddd}}{\\var{fff}}$ straight into your calculator, you can think of the question as $\\frac{\\sqrt[\\var{pow3}]{\\var{ddd}}}{\\sqrt[\\var{pow3}]{\\var{fff}}}$

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "marks": 1, "scripts": {}, "answer": "({ddd}/{fff})^{pow3}", "showCorrectAnswer": true, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"stepsPenalty": 0, "precisionType": "dp", "prompt": "

Using principles of BODMAS, what is the answer to $\\frac{\\var{q}}{\\var{r}} \\times \\frac{\\var{kk}}{\\var{ll}}-\\frac{\\var{ii}}{\\var{jj}}\\div\\frac{\\var{ee}}{\\var{ff}}+\\frac{\\var{nn}}{\\var{mm}}$?

\n

Give your answer to 2 decimal places.

", "marks": 1, "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": true, "variableReplacements": [], "precision": "2", "maxValue": "(q/r)*(kk/ll)-(ii/jj)/(ee/ff)+(nn/mm)", "minValue": "(q/r)*(kk/ll)-(ii/jj)/(ee/ff)+(nn/mm)", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "steps": [{"prompt": "

BODMAS tells us the order which we carry out operations. B stands for brackets, O stands for Powers, D stands for Division, M stands for Multiplication, A stands for Addition and S stands for subtraction. 

\n

Therefore calculating a question with BODMAS laws in mind, gives a mathematically accurate answer as the operations are carried out in the correct order.

\n

Start from B and working in order of priority of order until S.

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "precisionPartialCredit": 0, "scripts": {}, "showCorrectAnswer": true, "type": "numberentry", "showPrecisionHint": false}], "extensions": [], "statement": "

These are slightly more complex questions to follow up on your simple operations of fraction knowledge.

\n

The questions include: mixed fractions, powers and the rules of BODMAS.

\n

You can show steps to help you with the methods. You will not lose marks for viewing steps. 

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"aa": {"definition": "random(1..bb-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "aa", "description": ""}, "ff": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "ff", "description": ""}, "ee": {"definition": "random(1..ff-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "ee", "description": ""}, "pow": {"definition": "random(2..9#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "pow", "description": ""}, "rr": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "rr", "description": ""}, "ii": {"definition": "random(1..jj-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "ii", "description": ""}, "fff": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "fff", "description": ""}, "pp": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "pp", "description": ""}, "nn": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "nn", "description": ""}, "pow3": {"definition": "random(3..6)", "templateType": "anything", "group": "Ungrouped variables", "name": "pow3", "description": ""}, "tt": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "tt", "description": ""}, "int": {"definition": "random(1..11#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "int", "description": ""}, "ddd": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "ddd", "description": ""}, "oo": {"definition": "random(1..pp-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "oo", "description": ""}, "bb": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "bb", "description": ""}, "dd": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "dd", "description": ""}, "hh": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "hh", "description": ""}, "a": {"definition": "random(1..b-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "jj": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "jj", "description": ""}, "ss": {"definition": "random(1..tt-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "ss", "description": ""}, "cc": {"definition": "random(1..dd-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "cc", "description": ""}, "qq": {"definition": "random(1..rr-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "qq", "description": ""}, "gg": {"definition": "random(1..hh-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "gg", "description": ""}, "c": {"definition": "random(1..b-a) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(1..f-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "g": {"definition": "random(1..f-d) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "g", "description": ""}, "f": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "f", "description": ""}, "kk": {"definition": "random(1..ll-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "kk", "description": ""}, "h": {"definition": "random(1..j-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "h", "description": ""}, "k": {"definition": "random(1..j-h) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "k", "description": ""}, "j": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "j", "description": ""}, "m": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "l": {"definition": "random(1..m-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "l", "description": ""}, "o": {"definition": "random(1..p-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "o", "description": ""}, "n": {"definition": "random(1..m-l) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "n", "description": ""}, "q": {"definition": "random(1..r-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "q", "description": ""}, "p": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "p", "description": ""}, "s": {"definition": "random(1..t-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "s", "description": ""}, "r": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "r", "description": ""}, "u": {"definition": "random(1..v-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "u", "description": ""}, "t": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "t", "description": ""}, "w": {"definition": "random(1..x-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "w", "description": ""}, "v": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "v", "description": ""}, "y": {"definition": "random(1..x-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "y", "description": ""}, "x": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "x", "description": ""}, "z": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "z", "description": ""}, "ll": {"definition": "random(2..20) //random denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "ll", "description": ""}, "mm": {"definition": "random(1..nn-1) //random numerator less than denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "mm", "description": ""}}, "metadata": {"description": "

This exercise will help you do advanced mathematical operations using fractions.

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