// Numbas version: exam_results_page_options {"name": "DLL Week 1-4 review", "metadata": {"description": "

A summary of the first four weeks of material.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "duration": 0, "percentPass": 0, "showQuestionGroupNames": false, "shuffleQuestionGroups": false, "showstudentname": true, "question_groups": [{"name": "Week 1", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", "", "", "", "", "", ""], "variable_overrides": [[], [], [], [], [], [], [], []], "questions": [{"name": "NE1 - Negatives (add/subtract) 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": [], "metadata": {"description": "

Calculations with negative numbers.

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

Calculate $\\var{x}+(\\var{y})$.

", "advice": "

When you add a negative number that is the same as subtracting the number so

\n

\\[\\var{x}+(\\var{y})=\\var{x}-\\var{-y}=\\var{x+y}.\\]

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"x": {"name": "x", "group": "Ungrouped variables", "definition": "random(1..50)", "description": "", "templateType": "anything", "can_override": false}, "y": {"name": "y", "group": "Ungrouped variables", "definition": "random(-50..-1)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["x", "y"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x}+{y}", "maxValue": "{x}+{y}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NE3 - Multiplying Negatives 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": [], "metadata": {"description": "

Calculations with negative numbers.

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

Calculate $\\var{x}\\times(\\var{y})$.

", "advice": "

When you multiply by a negative number that is the same as doing the multiplication as if the numbers were positive and then making the result negative. This means we have

\n

\\[\\var{x}\\times(\\var{y})=-(\\var{x}\\times\\var{-y})=\\var{x*y}.\\]

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"x": {"name": "x", "group": "Ungrouped variables", "definition": "random(1..10)", "description": "", "templateType": "anything", "can_override": false}, "y": {"name": "y", "group": "Ungrouped variables", "definition": "random(-10..-1)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["x", "y"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x*y}", "maxValue": "{x*y}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NE5 - Dividing Negatives", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": [], "metadata": {"description": "

Calculations with negative numbers.

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

Calculate $(\\var{x})\\div(\\var{y})$.

", "advice": "

When we divide two numbers the rule is,

\n\n

In this calculation we have

\n

\\[(\\var{x})\\div(\\var{y})=\\var{x/y}.\\]

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"x": {"name": "x", "group": "Ungrouped variables", "definition": "random(-10..10)*y", "description": "", "templateType": "anything", "can_override": false}, "y": {"name": "y", "group": "Ungrouped variables", "definition": "random(-10..10 except 0)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["x", "y"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x/y}", "maxValue": "{x/y}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NC1 BIDMAS without a division", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": [], "metadata": {"description": "

Questions testing understanding of the precedence of operators using BIDMAS, applied to integers. These questions only test DMAS. That is, only Division/Multiplcation and Addition/Subtraction.

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

Evaluate the following expression:

", "advice": "

BIDMAS stands for:

\n

Brackets

\n

Indices

\n

Division

\n

Multiplication

\n

Addition

\n

Subtraction

\n

\n

And is a way for us to remember guidance about the order in which calculations are carried out to ensure that everyone doing teh same sum gets the same answer. In this case the first thing that is in the question is Multiplication.

\n

First work through the expression from left to right, evaluating any multiplication as you come to them. You should be left with an expression involving only pluses and minuses. Evaluate this expression, again working from left to right. Thus:

\n

\\[\\var{a}-\\var{b} \\times \\var{c}\\]

\n

\\[=\\var{a}-\\var{b*c}\\]

\n

\\[=\\var{a-b*c}\\]

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"c": {"name": "c", "group": "Ungrouped variables", "definition": "random(2..8 except [a,b])", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2..11 except a)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "c", "b"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "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

\n

$\\var{a}-\\var{b} \\times\\var{c}$

", "minValue": "{a-b*c}", "maxValue": "{a-b*c}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NC2 BIDMAS with a division", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": [], "metadata": {"description": "

Questions testing understanding of the precedence of operators using BIDMAS, applied to integers. These questions only test DMAS. That is, only Division/Multiplcation and Addition/Subtraction.

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

Evaluate the following expression:

", "advice": "

BIDMAS stands for:

\n

Brackets

\n

Indices

\n

Division

\n

Multiplication

\n

Addition

\n

Subtraction

\n

\n

And is a way for us to remember guidance about the order in which calculations are carried out to ensure that everyone doing teh same sum gets the same answer. In this case the first thing that is in the question is Division.

\n

First work through the expression from left to right, evaluating any division as you come to it. You should be left with an expression involving only pluses and minuses. Evaluate this expression, again working from left to right. Thus:

\n

\n

\\[\\var{h}-\\var{a2*b2} \\div \\var{b2}\\]

\n

\\[=\\var{h}-\\var{a2}\\]

\n

\\[=\\var{h-a2}\\]

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"b2": {"name": "b2", "group": "Ungrouped variables", "definition": "random(2..9 except a2)", "description": "", "templateType": "anything", "can_override": false}, "h": {"name": "h", "group": "Ungrouped variables", "definition": "random(7..15)", "description": "", "templateType": "anything", "can_override": false}, "a2": {"name": "a2", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["h", "a2", "b2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "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": "

$\\var{h}-\\var{a2*b2} \\div \\var{b2}$

", "minValue": "{h-a2}", "maxValue": "{h-a2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NC3 BIDMAS with a division 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Lauren Desoysa", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21504/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": [], "metadata": {"description": "

Applying the order of operators.

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

To calculate the following expression you press a sequence of buttons on your calculator.

\n

\\begin{align}\\frac{\\var{num}}{\\var{a}\\times\\var{b}}\\end{align}

\n

Which of the following would give the WRONG answer?

\n

", "advice": "

BIDMAS stands for:

\n

Brackets

\n

Indices

\n

Division

\n

Multiplication

\n

Addition

\n

Subtraction

\n

This is the standardized order of operations that we carry out and is part of how the calculator is designed to work. The most effective way to use most modern calculators is to use either the fraction button (on scientific calculators) or as is hinted at in this question, use brackets.

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2 .. 20#1)", "description": "", "templateType": "randrange", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2 .. 20#1)", "description": "", "templateType": "randrange", "can_override": false}, "num": {"name": "num", "group": "Ungrouped variables", "definition": "a*b*3", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "a<>b", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "num"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$\\var{num}\\div (\\var{a}\\times\\var{b})$", "$\\var{num} \\div \\var{a} \\times \\var{b}$", "$\\var{num} \\div \\var{a} \\div \\var{b}$"], "matrix": [0, "1", 0], "distractors": ["", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Calculation with indices - times", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": [], "metadata": {"description": "

Calculating with indices.

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

Calculate:

\n

\\[\\var{x}^\\var{m}*\\var{x}^\\var{n}\\]

", "advice": "

To calculate $\\var{x}^\\var{m}\\var{x}^\\var{n}$, we want to make use of the following rule:

\n

\\[a^n \\times a^m = a^{n+m}\\]

\n

Applying this rule,

\n

\\[\\begin{split}\\var{x}^\\var{m}\\var{x}^\\var{n} &\\,=\\var{x}^{\\simplify[!collectNumbers]{{m}+{n}}}\\\\ \\\\&\\,=\\var{ans}. \\end{split}\\]

\n

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"m": {"name": "m", "group": "Ungrouped variables", "definition": "random(2..4)", "description": "", "templateType": "anything", "can_override": false}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "random(1..3 except m)", "description": "", "templateType": "anything", "can_override": false}, "x": {"name": "x", "group": "Ungrouped variables", "definition": "random(2 .. 5#1)", "description": "

base number.

", "templateType": "randrange", "can_override": false}, "ans": {"name": "ans", "group": "Ungrouped variables", "definition": "x^n*x^m", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["m", "n", "x", "ans"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "ans", "maxValue": "ans", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Calculation with Indices - divide", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": [], "metadata": {"description": "

Find the missing whole number power in an equation.

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

Calculate:

\n

\\[\\frac{\\var{x}^\\var{m}}{\\var{x}^\\var{n}}\\]

", "advice": "

To calculate \\[\\frac{\\var{x}^\\var{m}}{\\var{x}^\\var{n}},\\]

\n

the first thing we do is simplify using the rule:

\n

\\[\\frac{a^m}{a^n}= a^{m-n}.\\]

\n

So in this case we get:

\n

\\[\\frac{\\var{x}^\\var{m}}{\\var{x}^\\var{n}}= \\var{x}^\\var{m-n}.\\]

\n

And then \\[\\var{x}^\\var{m-n} = \\var{ans}.\\]

\n

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"m": {"name": "m", "group": "Ungrouped variables", "definition": "random(2..5)", "description": "", "templateType": "anything", "can_override": false}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "random(2..3)", "description": "", "templateType": "anything", "can_override": false}, "x": {"name": "x", "group": "Ungrouped variables", "definition": "random(2 .. 5#1)", "description": "", "templateType": "randrange", "can_override": false}, "ans": {"name": "ans", "group": "Ungrouped variables", "definition": "x^m/x^n", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "nConvert a decimal to a fraction.

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

Express $\\var{dec}$ as a fraction in simplest form. 

", "advice": "

{advice}

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"dec": {"name": "dec", "group": "Ungrouped variables", "definition": "random(0.1 .. 0.9#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "ansn": {"name": "ansn", "group": "Ungrouped variables", "definition": "10*dec/GCD(10*dec,10)", "description": "", "templateType": "anything", "can_override": false}, "ansd": {"name": "ansd", "group": "Ungrouped variables", "definition": "10/GCD(10*dec,10)", "description": "", "templateType": "anything", "can_override": false}, "advice": {"name": "advice", "group": "Ungrouped variables", "definition": "if(GCD(10*dec,10)=1,adviceno,adviceyes)", "description": "", "templateType": "anything", "can_override": false}, "adviceno": {"name": "adviceno", "group": "Ungrouped variables", "definition": "\"

Decimals can be converted to fractions using place value. This decimal only has 1 decimal place and therefore finishes in the \\\"tenths\\\" column. Hence, we can write it as: 

\\n

\\\\[\\\\frac{\\\\var{dec*10}}{10},\\\\]

\\n

and then simplifying (if necessary). In this case no simplification is needed.

\"", "description": "", "templateType": "long string", "can_override": false}, "adviceyes": {"name": "adviceyes", "group": "Ungrouped variables", "definition": "\"

Decimals can be converted to fractions using place value. This decimal only has 1 decimal place and therefore finishes in the \\\"tenths\\\" column. Hence, we can write it as: 

\\n

\\\\[\\\\frac{\\\\var{dec*10}}{10},\\\\]

\\n

and then simplifying (if necessary). In this case giving:

\\n

\\\\[\\\\frac{\\\\var{ansn}}{\\\\var{ansd}}\\\\]

\"", "description": "", "templateType": "long string", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["dec", "ansn", "ansd", "advice", "adviceno", "adviceyes"], "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": "

[[0]] Numerator

\n

--------------

\n

[[1]] Denominator

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "Numerator", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "ansn", "maxValue": "ansn", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Denominator", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "ansd", "maxValue": "ansd", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NH3 - FDP convert 3 - Fraction into decimal", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": [], "metadata": {"description": "

Convert a fraction into a decimal.

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

Write $\\frac{\\var{x}}{\\var{y}}$ as a decimal. Round your answer to 3 decimal places.

", "advice": "

You can calculate the decimals by hand using long division of $\\var{x}.000$ divided by $\\var{y}$.

\n

In some cases you may be able to simplify the fraction to something that you know the decimal for.

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"x": {"name": "x", "group": "Ungrouped variables", "definition": "random(1..(y-1))", "description": "", "templateType": "anything", "can_override": false}, "y": {"name": "y", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["x", "y"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "x/y", "maxValue": "x/y", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "3", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "ND1 Rounding DP", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Stanislav Duris", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1590/"}, {"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Oliver Spenceley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/23557/"}], "tags": [], "metadata": {"description": "

Round numbers to a given number of decimal places.

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

We can approximate numbers by rounding.

\n

Round $\\var{c1}$ to a given number of decimal places.

", "advice": "

The first thing to do when we are rounding numbers is to identify the last digit we are keeping.

\n

When you're asked to round your answer to a number of decimal places, you need to decide whether to keep the last digit the same (rounding down) or increase it by 1 (rounding up). If the following digit is less than 5 we round down and we round up when the next digit is 5 or more.

\n

To write it down in steps:

\n
    \n
      \n
        \n
          \n
        1. Identify the last digit we need to keep.
        2. \n
        3. Look at the following digit.
        4. \n
        5. If it's 5 or more, increase the previous digit by one.
        6. \n
        7. If it's 4 or less, keep the previous digit the same.
        8. \n
        9. Fill any spaces to the right of the digit with zeros if needed.
        10. \n
        \n
      \n
    \n
\n

It is important to keep in mind that if the digit we are increasing is 9, it becomes zero and we increase the previous digit instead. If this digit is 9 as well, we move along to the left side until we find a digit less than 9.

\n
\n

To round a number to a given number $n$ of decimal places, we look at the $n$th digit after the decimal point.

\n

We have $\\var{c1}$.

\n

i)

\n

We look at the first digit after the decimal point. This is $\\var{cdig[4]}$ and the following digit is $\\var{cdig[3]}$ so we round updown to get $\\var{precround(c1, 1)}$.

\n

ii)

\n

The second digit after the decimal point is $\\var{cdig[3]}$. It is followed by $\\var{cdig[2]}$ so we round updown to get $\\var{precround(c1, 2)}$.

\n

iii)

\n

The 3rd decimal place is $\\var{cdig[2]}$, followed by $\\var{cdig[1]}$. We get $\\var{precround(c1, 3)}$. The 4th decimal place is $\\var{cdig[1]}$, followed by $\\var{cdig[0]}$. We get $\\var{precround(c1, 4)}$.

\n

Use this link to find some resources which will help you revise this topic

\n

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"c1": {"name": "c1", "group": "Ungrouped variables", "definition": "n_from_digits(cdig)*10^(-5) + random(1..5)", "description": "

Random number with 5 decimal places.

", "templateType": "anything", "can_override": false}, "cdig": {"name": "cdig", "group": "Ungrouped variables", "definition": "repeat(random(1..9), 5)", "description": "", "templateType": "anything", "can_override": false}, "dp": {"name": "dp", "group": "Ungrouped variables", "definition": "random(3..4)", "description": "

Number of decimal places to round.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": "100"}, "ungrouped_variables": ["dp", "cdig", "c1"], "variable_groups": [], "functions": {"n_from_digits": {"parameters": [["digits", "list"]], "type": "number", "language": "jme", "definition": "if(\n len(digits)=0,\n 0,\n digits[0]+10*n_from_digits(digits[1..len(digits)])\n)"}}, "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": "

i)   $\\var{c1}$ rounded to 1 decimal place is:  [[0]]

\n

ii)   $\\var{c1}$ rounded to 2 decimal places is:  [[1]]

\n

iii)   $\\var{c1}$ rounded to {dp} decimal places is:  [[2]]

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "precround(c1, 1)", "maxValue": "precround(c1, 1)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "precround(c1, 2)", "maxValue": "precround(c1, 2)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "precround(c1, dp)", "maxValue": "precround(c1, dp)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "ND3 Rounding SF (decimal)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Stanislav Duris", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1590/"}, {"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}, {"name": "Oliver Spenceley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/23557/"}], "tags": ["rounding"], "metadata": {"description": "

Round numbers to a given number of significant figures.

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

The first thing to do when we are rounding numbers is to identify the last digit we are keeping.

\n

When you're asked to round your answer to a number of significant figures, you need to decide whether to keep the last digit same (rounding down) or increase it by 1 (rounding up). If the following digit is less than 5 we round down and we round up when the next digit is 5 or more.

\n

To write it down in steps:

\n
    \n
      \n
        \n
          \n
        1. Identify the last digit we need to keep.
        2. \n
        3. Look at the following digit.
        4. \n
        5. If it's 5 or more, increase the previous digit by one.
        6. \n
        7. If it's 4 or less, keep the previous digit the same.
        8. \n
        9. Fill any spaces to the right of the digit with zeros if needed.
        10. \n
        \n
      \n
    \n
\n

It is important to keep in mind that if the digit we are increasing is 9, it becomes zero and we increase the previous digit instead. If this digit is 9 as well, we move along to the left side until we find a digit less than 9.

\n

The last digit we need to keep will depend on how many zeros there are.  We don't consider leading zeros to be significant,
i.e. 0.03 and 0.3 both have 1 significant figure (but 0.30 has two significant figures, since the second zero isn't a 'leading' zero).

\n

i)

\n

We round $\\var{e1}$ to 1 significant figure. The first non-zero digit is $\\var{edig[4]}$, followed by $\\var{edig[3]}$. This is lower than 5 so we round downmore than 5 so we round up to get $\\var{sigformat(e1,1)}$.

\n

ii)

\n

We round $\\var{e1}$ to {sf} significant figures. The first non-zero digit is $\\var{edig[4]}$. The second following digit is $\\var{edig[3]}$, the third following digit is $\\var{edig[2]}$ and the fourth following digit is $\\var{edig[1]}$. The digit following the last digit we are keeping is $\\var{edig[2]}$$\\var{edig[1]}$$\\var{edig[0]}$, so we round to get $\\var{sigformat(e1, sf)}$. These are our {sf} significant figures. 

\n

\n

Use this link to find some resources which will help you revise this topic.

\n

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"edig": {"name": "edig", "group": "Ungrouped variables", "definition": "repeat(random(1..9), 5)", "description": "", "templateType": "anything", "can_override": false}, "d1": {"name": "d1", "group": "Ungrouped variables", "definition": "n_from_digits(ddig)", "description": "

Random integer.

", "templateType": "anything", "can_override": false}, "e1": {"name": "e1", "group": "Ungrouped variables", "definition": "n_from_digits(edig)*10^(random(-6,-7,-8))", "description": "

Random number with 7 decimal places.

", "templateType": "anything", "can_override": false}, "ddig": {"name": "ddig", "group": "Ungrouped variables", "definition": "repeat(random(1..9), 6)", "description": "", "templateType": "anything", "can_override": false}, "sf": {"name": "sf", "group": "Ungrouped variables", "definition": "3", "description": "

Number of significant figures to round.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": "100"}, "ungrouped_variables": ["sf", "ddig", "edig", "d1", "e1"], "variable_groups": [], "functions": {"n_from_digits": {"parameters": [["digits", "list"]], "type": "number", "language": "jme", "definition": "if(\n len(digits)=0,\n 0,\n digits[0]+10*n_from_digits(digits[1..len(digits)])\n)"}}, "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": "

Round $\\var{e1}$

\n

iii) $\\var{e1}$ rounded to 1 significant figure is:  [[0]]

\n

iv) $\\var{e1}$ rounded to {sf} significant figures is:  [[1]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "siground(e1, 1)", "maxValue": "siground(e1, 1)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "siground(e1, sf)", "maxValue": "siground(e1, sf)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NK1 standard form (large)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}], "tags": ["converting", "scientific notation", "standard form"], "metadata": {"description": "

Convert numbers greater than 1 into standard form/scientific notation.

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

Write the following numbers in scientific notation.

", "advice": "

Suppose we have the number $\\var{q2}$. In scientific notation, this number would start with $\\var{dec2}$ since we only want one digit in front of the decimal point. The decimal point is currently to the right of the last digit in $\\var{q2}$ and needs to be between the first and second digits, i.e $\\var{dec2}$. Count the places that the digits must move and you get $\\var{pow2}$ places. That is,

\n

\n

\\[\\var{q2}=\\var{dec2}\\times 10^{\\var{pow2}}\\]

\n

\n

We have a positive $\\var{pow2}$ as the power because we need to make the number $\\var{dec2}$ bigger to get to $\\var{q2}$.

\n

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"pow2": {"name": "pow2", "group": "Ungrouped variables", "definition": "random(4..8)", "description": "", "templateType": "anything", "can_override": false}, "q2": {"name": "q2", "group": "Ungrouped variables", "definition": "precround(dec2*10^pow2,0)", "description": "", "templateType": "anything", "can_override": false}, "dec2": {"name": "dec2", "group": "Ungrouped variables", "definition": "random(1.1..9.9#0.001)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["dec2", "pow2", "q2"], "variable_groups": [], "functions": {"spacenumber": {"parameters": [["n", "number"]], "type": "string", "language": "javascript", "definition": "var parts=n.toString().split(\".\");\n if(parts[1] && parts[1].length<2) {\n parts[1]+='0';\n }\n return parts[0].replace(/\\B(?=(\\d{3})+(?!\\d))/g, \" \") + (parts[1] ? \", \" + parts[1] : \"\");"}}, "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{q2} =$ [[0]]$\\times 10$ [[1]] 

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{dec2}", "maxValue": "{dec2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{pow2}", "maxValue": "{pow2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NK2 standard form (small)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": ["converting", "scientific notation", "standard form"], "metadata": {"description": "

Convert numbers between 0 and 1 intro standard form/scientific notation.

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

Write the following numbers in scientific notation.

", "advice": "

Suppose we have the number $\\var{q2}$. In scientific notation, this number would start with $\\var{dec2}$ since we only want one digit in front of the decimal point.  Count the places that the digits must move and you get $\\var{-pow2}$ places to the right. That is,

\n

\\[\\var{q2}=\\var{dec2}\\times 10^{\\var{pow2}}\\]

\n

\n

We have a negative $\\var{-pow2}$ as the power because we need to make the number $\\var{dec2}$ smaller to get to $\\var{q2}$.

\n

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"pow2": {"name": "pow2", "group": "Ungrouped variables", "definition": "random(list(-6..-1))", "description": "", "templateType": "anything", "can_override": false}, "dec2": {"name": "dec2", "group": "Ungrouped variables", "definition": "random(1.1..9.9#0.001)", "description": "", "templateType": "anything", "can_override": false}, "q2": {"name": "q2", "group": "Ungrouped variables", "definition": "precround(dec2*10^pow2,adjpow)", "description": "", "templateType": "anything", "can_override": false}, "adjpow": {"name": "adjpow", "group": "Ungrouped variables", "definition": "If(round(mod(dec2*1000,10))<>0,3-pow2,If(round(mod(dec2*1000,100))<>0,2-pow2,If(round(mod(dec2*1000,1000))<>0,1-pow2,0-pow2)))", "description": "", "templateType": "anything", "can_override": false}, "test": {"name": "test", "group": "Ungrouped variables", "definition": "mod(1000*dec2,10)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["dec2", "pow2", "q2", "adjpow", "test"], "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{q2}$ = [[0]]$\\times 10$ [[1]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{dec2}", "maxValue": "{dec2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{pow2}", "maxValue": "{pow2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NK3 - Standard Form (Calculations)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": [], "metadata": {"description": "

Calculations involving Standard form.

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

To divide two numbers in standard form we can calculate the division of each part of the standard form number separately. In general we have,

\n

\\[\\frac{x\\times10^j}{y\\times10^k}=\\frac xy\\times\\frac{10^j}{10^k}=\\frac xy\\times 10^{j-k}\\]

\n

\n

In this question we therefore have,

\n

\\[\\frac{\\var{a}\\times10^{\\var{n}}}{\\var{b}\\times10^{\\var{m}}}=\\frac{\\var{a}}{\\var{b}}\\times\\frac{10^{\\var{n}}}{10^{\\var{m}}}=\\var{aDivBRound}\\times10^\\var{n-m}.\\]

\n
\n

Since {aDivBRound} is less than 1 then our answer isn't in standard form. In this case we need to reduce the exponent by 1 so the final answer is

\n

\\[\\var{MantAnsRound}\\times10^{\\var{ExponentAns}}.\\]

\n
\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..9.9 # 0.1)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(1..9.9 # 0.1)", "description": "", "templateType": "anything", "can_override": false}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "random(-10..10)", "description": "", "templateType": "anything", "can_override": false}, "m": {"name": "m", "group": "Ungrouped variables", "definition": "random(-10..10)", "description": "", "templateType": "anything", "can_override": false}, "IsADivBLessOne": {"name": "IsADivBLessOne", "group": "Ungrouped variables", "definition": "a/b<1", "description": "", "templateType": "anything", "can_override": false}, "ExponentAns": {"name": "ExponentAns", "group": "Ungrouped variables", "definition": "if(IsADivBLessOne,n-m-1,n-m)", "description": "", "templateType": "anything", "can_override": false}, "MantAns": {"name": "MantAns", "group": "Ungrouped variables", "definition": "if(IsADivBLessOne, a/b*10, a/b)", "description": "", "templateType": "anything", "can_override": false}, "aDivBRound": {"name": "aDivBRound", "group": "Ungrouped variables", "definition": "precround(a/b,2)", "description": "", "templateType": "anything", "can_override": false}, "MantAnsRound": {"name": "MantAnsRound", "group": "Ungrouped variables", "definition": "precround(MantAns,2)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "n", "m", "IsADivBLessOne", "ExponentAns", "MantAns", "aDivBRound", "MantAnsRound"], "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": "

For the equation

\n

\\[\\frac{\\var{a}\\times10^{\\var{n}}}{\\var{b}\\times10^{\\var{m}}}=a\\times10^n\\]

\n

find the values of $a$ and $n$ which keep the answer in standard form.

\n

Give $a$ to two decimal places.

\n

$a=$[[0]]

$n=$[[1]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "MantAns", "maxValue": "MantAns", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "ExponentAns", "maxValue": "ExponentAns", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NA6 - Convert Units - volume - l to ml", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": [], "metadata": {"description": "

Simple unit conversion with metric units. 

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

Express {liquid} litres ($l$) in millilitres ($ml$). 

", "advice": "

There are $1000ml$ in $1l$. To work out the conversion: $\\var{liquid}*1000 = \\var{answer}$.

\n

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"liquid": {"name": "liquid", "group": "Ungrouped variables", "definition": "random(1 .. 6#0.01)", "description": "", "templateType": "randrange", "can_override": false}, "answer": {"name": "answer", "group": "Ungrouped variables", "definition": "liquid*1000", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["liquid", "answer"], "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": "

[[0]]$ml$

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "answer", "marks": 1, "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": "answer", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NA7 - Convert Units - volume - ml to l", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": [], "metadata": {"description": "

Metric Unit conversion - division by 1000. 

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

Express {liquid} millilitres ($ml$) in litres ($l$). Give your answer to 3 decimal places. 

", "advice": "

There are $1000ml$ in $1l$. To work out the conversion: $\\frac{\\var{liquid}}{1000} = \\var{answer}$.

\n

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"liquid": {"name": "liquid", "group": "Ungrouped variables", "definition": "random(100 .. 5200#1)", "description": "", "templateType": "randrange", "can_override": false}, "answer": {"name": "answer", "group": "Ungrouped variables", "definition": "liquid/1000", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["liquid", "answer"], "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": "

[[0]]$l$

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "answer", "marks": 1, "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": "answer", "precisionType": "dp", "precision": "3", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Week 3", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", "", "", "", "", "", "", "", "", ""], "variable_overrides": [[], [], [], [], [], [], [], [], [], [], []], "questions": [{"name": "NG1 Simplify (cancel down) Fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": [], "metadata": {"description": "Calculating the LCM and HCF of numbers by using prime factorisation.", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Express the fraction below in its simplest form:

\n

\\[\\frac{\\var{x}}{\\var{y}}\\]

", "advice": "

To simplify a fraction we need to divide both numbers by their common factors.

\n

We can write $\\var{x}$ and $\\var{y}$ as a product of prime factors as follows:

\n

$\\var{x}=\\var{show_factors(x)}$

\n

$\\var{y}=\\var{show_factors(y)}$.

\n

So to fully simplify the fraction we need to divide both $\\var{x}$ and $\\var{y}$ by

\n

\\[\\var{show_factors(hcf_xy)}.\\]

\n

This gives us the fraction

\n

\\[\\frac{\\var{x/hcf_xy}}{\\var{y/hcf_xy}}\\]

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"x_powers": {"name": "x_powers", "group": "Ungrouped variables", "definition": "[random(1..3),random(0..3),random(0,1)]", "description": "", "templateType": "anything", "can_override": false}, "y_powers": {"name": "y_powers", "group": "Ungrouped variables", "definition": "[random(1..3),random(0..3),random(0,1)]", "description": "", "templateType": "anything", "can_override": false}, "x": {"name": "x", "group": "Ungrouped variables", "definition": "2^x_powers[0]*3^x_powers[1]*5^x_powers[2]", "description": "", "templateType": "anything", "can_override": false}, "y": {"name": "y", "group": "Ungrouped variables", "definition": "2^y_powers[0]*3^y_powers[1]*5^y_powers[2]", "description": "", "templateType": "anything", "can_override": false}, "hcf_xy": {"name": "hcf_xy", "group": "Ungrouped variables", "definition": "2^min(x_powers[0],y_powers[0])*3^min(x_powers[1],y_powers[1])*5^min(x_powers[2],y_powers[2])", "description": "", "templateType": "anything", "can_override": false}, "lcm_xy": {"name": "lcm_xy", "group": "Ungrouped variables", "definition": "2^max(x_powers[0],y_powers[0])*3^max(x_powers[1],y_powers[1])*5^max(x_powers[2],y_powers[2])", "description": "", "templateType": "anything", "can_override": false}, "primes": {"name": "primes", "group": "Ungrouped variables", "definition": "[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": "500"}, "ungrouped_variables": ["x_powers", "y_powers", "x", "y", "hcf_xy", "lcm_xy", "primes"], "variable_groups": [], "functions": {"show_factors": {"parameters": [["n", "number"]], "type": "string", "language": "jme", "definition": "latex( // mark the output as a string of raw LaTeX\n join(\n map(\n if(a=1,p,p+'^{'+a+'}'), // when the exponent is 1, return p, otherwise return p^{exponent}\n [p,a],\n filter(x[1]>0,x,zip(primes,factorise(n))) // for all the primes p which are factors of n, return p and its exponent\n ),\n ' \\\\times ' // join all the prime powers up with \\times symbols\n )\n)"}}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x/y}", "maxValue": "{x/y}", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": true, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NG3 Add Fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}, {"name": "Oliver Spenceley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/23557/"}], "tags": ["adding and subtracting fractions", "adding fractions", "converting between decimals and fractions", "converting integers to fractions", "Fractions", "fractions", "integers", "manipulation of fractions", "subtracting fractions", "taxonomy"], "metadata": {"description": "

Manipulate fractions in order to add and subtract them. The difficulty escalates through the inclusion of a whole integer and a decimal, which both need to be converted into a fraction before the addition/subtraction can take place. 

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

Evaluate the following addition, giving the fraction in its simplest form.

", "advice": "

$\\displaystyle\\frac{\\var{a_coprime}}{\\var{b_coprime}}+\\frac{\\var{c_coprime}}{\\var{d_coprime}}$

\n

To add or subtract fractions, we need to have a common denominator on both fractions.

\n

To get a common denominator, we need to find the lowest common multiple of the two denominators.

\n

The lowest common multiple of $\\var{b_coprime}$ and $\\var{d_coprime}$ is $\\var{lcm}.$

\n

This will be the new denominator, and we need to multiply each fraction individually to ensure we get this denominator. 

\n

For $\\displaystyle\\frac{\\var{a_coprime}}{\\var{b_coprime}}$, we need to multiply the fraction by $\\displaystyle\\frac{\\var{lcm_b}}{\\var{lcm_b}}$ to give $\\displaystyle\\frac{\\var{alcm_b}}{\\var{lcm}}.$

\n

For $\\displaystyle\\frac{\\var{c_coprime}}{\\var{d_coprime}}$, we need to multiply the fraction by $\\displaystyle\\frac{\\var{lcm_d}}{\\var{lcm_d}}$ to give $\\displaystyle\\frac{\\var{clcm_d}}{\\var{lcm}}.$

\n

Now that we have each fraction in terms of a common denominator, we can now add the fractions together. 

\n

$\\displaystyle\\frac{\\var{alcm_b}}{\\var{lcm}}+\\frac{\\var{clcm_d}}{\\var{lcm}}=\\frac{(\\var{alcm_b}+\\var{clcm_d})}{\\var{lcm}}=\\frac{\\var{alcmclcm}}{\\var{lcm}}.$

\n

From this, we can try to simplify the result down by finding the greatest common divisor of the numerator and denominator and dividing the whole fraction by this amount. 

\n

The greatest common divisor of $\\var{alcmclcm}$ and $\\var{lcm}$ is $\\var{gcd}.$

\n

Simplifying using this value gives a final answer of $\\displaystyle\\frac{\\var{num}}{\\var{denom}}.$

\n

Therefore, the expression cannot be simplified further, and $\\displaystyle\\frac{\\var{num}}{\\var{denom}}$ is the final answer.

\n

\n

Find out more about this topic using our resource

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"d_coprime": {"name": "d_coprime", "group": "Part a", "definition": "d/gcd_cd", "description": "", "templateType": "anything", "can_override": false}, "denom": {"name": "denom", "group": "Part a", "definition": "lcm/gcd", "description": "

PART A answer for the denominator of part a

", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Part a", "definition": "random(1..5)", "description": "

PART A variable a - random number between 1 and 5.

", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Part a", "definition": "random(5..15)", "description": "

PART A variable d - random number between 5 and 15.

", "templateType": "anything", "can_override": false}, "c_coprimeb_coprime": {"name": "c_coprimeb_coprime", "group": "Part a", "definition": "c_coprime*b_coprime", "description": "

PART A variable c times variable b

", "templateType": "anything", "can_override": false}, "gcd_ab": {"name": "gcd_ab", "group": "Part a", "definition": "gcd(a,b)", "description": "

PART A simplification of fractions in the question.

", "templateType": "anything", "can_override": false}, "lcm_b": {"name": "lcm_b", "group": "Part a", "definition": "lcm/b_coprime", "description": "

PART A lcm of b and d, divided by b

", "templateType": "anything", "can_override": false}, "num": {"name": "num", "group": "Part a", "definition": "alcmclcm/gcd", "description": "

PART A answer for the numerator input

", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Part a", "definition": "random(5..10 except d)", "description": "

PART A variable b - random number between 5 and 10 and not the same value as d.

", "templateType": "anything", "can_override": false}, "a_coprimed_coprime": {"name": "a_coprimed_coprime", "group": "Part a", "definition": "a_coprime*d_coprime", "description": "

PART A variable a times variable d

", "templateType": "anything", "can_override": false}, "lcm_d": {"name": "lcm_d", "group": "Part a", "definition": "lcm/d_coprime", "description": "

PART A lcm of b and d, divided by d

", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Part a", "definition": "random(1..5)", "description": "

PART A variable c - random number between 1 and 5.

", "templateType": "anything", "can_override": false}, "clcm_d": {"name": "clcm_d", "group": "Part a", "definition": "c_coprime*lcm_d", "description": "

PART A variable c times the lcm of b and d, divided by d

", "templateType": "anything", "can_override": false}, "gcd": {"name": "gcd", "group": "Part a", "definition": "gcd(alcmclcm,lcm)", "description": "

PART A greatest common divisor of the variables alcmclcm and lcm

", "templateType": "anything", "can_override": false}, "alcm_b": {"name": "alcm_b", "group": "Part a", "definition": "a_coprime*lcm_b", "description": "

PART A variable a times the lcm of b and d, divided by b

", "templateType": "anything", "can_override": false}, "a_coprime": {"name": "a_coprime", "group": "Part a", "definition": "a/gcd_ab", "description": "

PART A

", "templateType": "anything", "can_override": false}, "b_coprime": {"name": "b_coprime", "group": "Part a", "definition": "b/gcd_ab", "description": "

PART A 

", "templateType": "anything", "can_override": false}, "gcd_cd": {"name": "gcd_cd", "group": "Part a", "definition": "gcd(c,d)", "description": "

PART A 

", "templateType": "anything", "can_override": false}, "lcm": {"name": "lcm", "group": "Part a", "definition": "lcm(b_coprime,d_coprime)", "description": "

PART A lowest common multiple of variable b_coprime and variable d_coprime.

", "templateType": "anything", "can_override": false}, "alcmclcm": {"name": "alcmclcm", "group": "Part a", "definition": "alcm_b+clcm_d", "description": "

PART A 

", "templateType": "anything", "can_override": false}, "c_coprime": {"name": "c_coprime", "group": "Part a", "definition": "c/gcd_cd", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Part a", "variables": ["a", "a_coprime", "b", "b_coprime", "gcd_ab", "c", "c_coprime", "d", "d_coprime", "gcd_cd", "lcm", "a_coprimed_coprime", "c_coprimeb_coprime", "lcm_b", "lcm_d", "alcm_b", "clcm_d", "alcmclcm", "gcd", "num", "denom"]}], "functions": {}, "preamble": {"js": "", "css": "fraction {\n display: inline-block;\n vertical-align: middle;\n}\nfraction > numerator, fraction > denominator {\n float: left;\n width: 100%;\n text-align: center;\n line-height: 2.5em;\n}\nfraction > numerator {\n border-bottom: 1px solid;\n padding-bottom: 5px;\n}\nfraction > denominator {\n padding-top: 5px;\n}\nfraction input {\n line-height: 1em;\n}\n\nfraction .part {\n margin: 0;\n}\n\n.table-responsive, .fractiontable {\n display:inline-block;\n}\n.fractiontable {\n padding: 0; \n border: 0;\n}\n\n.fractiontable .tddenom \n{\n text-align: center;\n}\n\n.fractiontable .tdnum \n{\n border-bottom: 1px solid black; \n text-align: center;\n}\n\n\n.fractiontable tr {\n height: 3em;\n}\n"}, "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": "

$\\displaystyle\\frac{\\var{a_coprime}}{\\var{b_coprime}}+\\frac{\\var{c_coprime}}{\\var{d_coprime}}=$ [[0]] [[1]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "num", "maxValue": "num", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "denom", "maxValue": "denom", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NG4 Subtract fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}], "tags": ["adding and subtracting fractions", "adding fractions", "converting between decimals and fractions", "converting integers to fractions", "Fractions", "fractions", "integers", "manipulation of fractions", "subtracting fractions", "taxonomy"], "metadata": {"description": "

Manipulate fractions in order to add and subtract them. The difficulty escalates through the inclusion of a whole integer and a decimal, which both need to be converted into a fraction before the addition/subtraction can take place. 

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

Evaluate the following additions and subtractions, giving each fraction in its simplest form. Write the numerator (the top number) as negative if the fraction is negative.

", "advice": "

$\\displaystyle\\frac{\\var{f_coprime}}{\\var{g_coprime}}-\\frac{\\var{h_coprime}}{\\var{j_coprime}}+2.$

\n

\n

The two fractions can be individually multiplied to achieve a common denominator of the lowest common multiple, $\\var{lcm2}.$

\n

$\\displaystyle\\frac{\\var{f_coprime}}{\\var{g_coprime}}$ becomes $\\displaystyle\\frac{\\var{flcm2_g}}{\\var{lcm2}}$ and $\\displaystyle\\frac{\\var{h_coprime}}{\\var{j_coprime}}$ becomes $\\displaystyle\\frac{\\var{hlcm2_j}}{\\var{lcm2}}.$

\n

We can now subtract the second fraction from the first.

\n

$\\displaystyle\\frac{\\var{flcm2_g}}{\\var{lcm2}}-\\frac{\\var{hlcm2_j}}{\\var{lcm2}}=\\frac{\\var{flcmhlcm}}{\\var{lcm2}}.$

\n

\n

Find out more about this topic using our resource.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"hlcm2_j": {"name": "hlcm2_j", "group": "Part b", "definition": "h_coprime*lcm2_j", "description": "

PART B

", "templateType": "anything", "can_override": false}, "lcm2": {"name": "lcm2", "group": "Part b", "definition": "lcm(g_coprime,j_coprime)", "description": "

PART B

", "templateType": "anything", "can_override": false}, "gcd_fg": {"name": "gcd_fg", "group": "Part b", "definition": "gcd(f,g)", "description": "

PART B gcd of first fraction num and denom

", "templateType": "anything", "can_override": false}, "j": {"name": "j", "group": "Part b", "definition": "random(2..10 except h)", "description": "

PART B

", "templateType": "anything", "can_override": false}, "h": {"name": "h", "group": "Part b", "definition": "random(1..10)", "description": "

PART B

", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "Part b", "definition": "random(1..10)", "description": "

PART B

", "templateType": "anything", "can_override": false}, "h_coprime": {"name": "h_coprime", "group": "Part b", "definition": "h/gcd_hj", "description": "

PART B

", "templateType": "anything", "can_override": false}, "lcm2_j": {"name": "lcm2_j", "group": "Part b", "definition": "lcm2/j_coprime", "description": "

PART B

", "templateType": "anything", "can_override": false}, "j_coprime": {"name": "j_coprime", "group": "Part b", "definition": "j/gcd_hj", "description": "

PART B

", "templateType": "anything", "can_override": false}, "flcmhlcm": {"name": "flcmhlcm", "group": "Part b", "definition": "flcm2_g-hlcm2_j", "description": "

PART B

", "templateType": "anything", "can_override": false}, "g_coprime": {"name": "g_coprime", "group": "Part b", "definition": "g/gcd_fg", "description": "

PART B g_coprime

", "templateType": "anything", "can_override": false}, "gcd_hj": {"name": "gcd_hj", "group": "Part b", "definition": "gcd(h,j)", "description": "

PART B

", "templateType": "anything", "can_override": false}, "g": {"name": "g", "group": "Part b", "definition": "random(2..10 except f except j)", "description": "

PART B

", "templateType": "anything", "can_override": false}, "flcm2_g": {"name": "flcm2_g", "group": "Part b", "definition": "f_coprime*lcm2_g", "description": "

PART B

", "templateType": "anything", "can_override": false}, "lcm2_g": {"name": "lcm2_g", "group": "Part b", "definition": "lcm2/g_coprime", "description": "

PART B

", "templateType": "anything", "can_override": false}, "f_coprime": {"name": "f_coprime", "group": "Part b", "definition": "f/gcd_fg", "description": "

PART B

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Part b", "variables": ["f", "f_coprime", "g", "g_coprime", "gcd_fg", "h", "h_coprime", "j", "j_coprime", "gcd_hj", "lcm2", "lcm2_g", "flcm2_g", "lcm2_j", "hlcm2_j", "flcmhlcm"]}], "functions": {}, "preamble": {"js": "", "css": "fraction {\n display: inline-block;\n vertical-align: middle;\n}\nfraction > numerator, fraction > denominator {\n float: left;\n width: 100%;\n text-align: center;\n line-height: 2.5em;\n}\nfraction > numerator {\n border-bottom: 1px solid;\n padding-bottom: 5px;\n}\nfraction > denominator {\n padding-top: 5px;\n}\nfraction input {\n line-height: 1em;\n}\n\nfraction .part {\n margin: 0;\n}\n\n.table-responsive, .fractiontable {\n display:inline-block;\n}\n.fractiontable {\n padding: 0; \n border: 0;\n}\n\n.fractiontable .tddenom \n{\n text-align: center;\n}\n\n.fractiontable .tdnum \n{\n border-bottom: 1px solid black; \n text-align: center;\n}\n\n\n.fractiontable tr {\n height: 3em;\n}\n"}, "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": "

$\\displaystyle\\frac{\\var{f_coprime}}{\\var{g_coprime}}-\\frac{\\var{h_coprime}}{\\var{j_coprime}}=$  [[0]] [[1]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "flcmhlcm", "maxValue": "flcmhlcm", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "lcm2", "maxValue": "lcm2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NG5 Multiply Fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}, {"name": "Oliver Spenceley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/23557/"}], "tags": ["improper fractions", "mixed numbers", "multiplication of fractions", "multiplying fractions", "squared fraction", "taxonomy"], "metadata": {"description": "

Several problems involving the multiplication of fractions, with increasingly difficult examples, including a mixed fraction and a squared fraction. The final part is a word problem. 

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

Evaluate the following multiplication, giving the answer in its simplest form.

", "advice": "

\n

To multiply $\\displaystyle\\frac{\\var{a_coprime}}{\\var{c_coprime}}\\times\\frac{\\var{b_coprime}}{\\var{d_coprime}}$, address the numerators and denominators separately.

\n

Multiply the numerators across both fractions.

\n

$\\var{a_coprime}\\times\\var{b_coprime}=\\var{ab}$,

\n

and then multiply the denominators across both fractions.

\n

$\\var{c_coprime}\\times\\var{d_coprime}=\\var{cd}$.

\n

The values of the multiplied numerators and denominators will be the numerator and denominator of the new fraction: $\\displaystyle\\frac{\\var{ab}}{\\var{cd}}$.

\n

This answer may need simplifying down, and to do this, find the greatest common divisor in both the numerator and denominator and divide by this number.

\n

The greatest common divisor of $\\var{ab}$ and $\\var{cd}$ is $\\var{gcd}$.

\n

By using $\\var{gcd}$ to cancel down the fraction, the final answer is $\\displaystyle\\simplify{{ab}/{cd}}$.

\n

\n

Use this link to find some resources which will help you revise this topic.

\n

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"k": {"name": "k", "group": "Part b", "definition": "random(1..7 except j)", "description": "

Random number between 1 and 20

", "templateType": "anything", "can_override": false}, "bb": {"name": "bb", "group": "Part d", "definition": "28*aa", "description": "", "templateType": "anything", "can_override": false}, "cc": {"name": "cc", "group": "Part d", "definition": "bb/7", "description": "", "templateType": "anything", "can_override": false}, "g": {"name": "g", "group": "Part b", "definition": "random(1 .. 7#1)", "description": "

Random number between 1 and 20.

", "templateType": "randrange", "can_override": false}, "cd": {"name": "cd", "group": "Part a", "definition": "c_coprime*d_coprime", "description": "

Variable c times variable d.

", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Part a", "definition": "random(2..12 except c)", "description": "

Random number from 1 to 12.

", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Part a", "definition": "random(2 .. 12#1)", "description": "

Random number from 1 to 12.

", "templateType": "randrange", "can_override": false}, "l": {"name": "l", "group": "Part c", "definition": "random(1..12)", "description": "", "templateType": "anything", "can_override": false}, "numif": {"name": "numif", "group": "Part b", "definition": "(f*h_coprime)+g_coprime", "description": "

Numerator of the improper fraction converted from a mixed number.

", "templateType": "anything", "can_override": false}, "gcd_gh": {"name": "gcd_gh", "group": "Part b", "definition": "gcd(g,h)", "description": "", "templateType": "anything", "can_override": false}, "fh": {"name": "fh", "group": "Part b", "definition": "f*h_coprime", "description": "

Variable f times variable h

", "templateType": "anything", "can_override": false}, "g_coprime": {"name": "g_coprime", "group": "Part b", "definition": "g/gcd_gh", "description": "", "templateType": "anything", "can_override": false}, "j_coprime": {"name": "j_coprime", "group": "Part b", "definition": "j/gcd_kj", "description": "", "templateType": "anything", "can_override": false}, "gcd_kj": {"name": "gcd_kj", "group": "Part b", "definition": "gcd(k,j)", "description": "", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "Part b", "definition": "random(1 .. 4#1)", "description": "

Random number between 1 and 4 - integer part of the mixed number.

", "templateType": "randrange", "can_override": false}, "c_coprime": {"name": "c_coprime", "group": "Part a", "definition": "c/gcd_ac", "description": "", "templateType": "anything", "can_override": false}, "gcd": {"name": "gcd", "group": "Part a", "definition": "gcd(ab,cd)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Part a", "definition": "random(2 .. 12#1)", "description": "

Random number from 1 to 12.

", "templateType": "randrange", "can_override": false}, "d_coprime": {"name": "d_coprime", "group": "Part a", "definition": "d/gcd_bd", "description": "", "templateType": "anything", "can_override": false}, "ddcc": {"name": "ddcc", "group": "Part d", "definition": "dd*cc", "description": "", "templateType": "anything", "can_override": false}, "gcdb": {"name": "gcdb", "group": "Part b", "definition": "gcd(num,denom)", "description": "", "templateType": "anything", "can_override": false}, "gcd_ac": {"name": "gcd_ac", "group": "Part a", "definition": "gcd(a,c)", "description": "

PART A

", "templateType": "anything", "can_override": false}, "denom": {"name": "denom", "group": "Part b", "definition": "j_coprime*(h_coprime/gcda)", "description": "

Denominator of new fraction.

", "templateType": "anything", "can_override": false}, "l_coprime": {"name": "l_coprime", "group": "Part c", "definition": "l/gcd_lm", "description": "", "templateType": "anything", "can_override": false}, "m": {"name": "m", "group": "Part c", "definition": "random(1..12 except l)", "description": "", "templateType": "anything", "can_override": false}, "a_coprime": {"name": "a_coprime", "group": "Part a", "definition": "a/gcd_ac", "description": "", "templateType": "anything", "can_override": false}, "h": {"name": "h", "group": "Part b", "definition": "random(7 .. 10#1)", "description": "

Random number between 1 and 20.

", "templateType": "randrange", "can_override": false}, "num": {"name": "num", "group": "Part b", "definition": "k_coprime*{numif/gcda}", "description": "

Numerator of gap 0

", "templateType": "anything", "can_override": false}, "m_coprime": {"name": "m_coprime", "group": "Part c", "definition": "m/gcd_lm", "description": "", "templateType": "anything", "can_override": false}, "aa": {"name": "aa", "group": "Part d", "definition": "random(1..6)", "description": "", "templateType": "anything", "can_override": false}, "gcda": {"name": "gcda", "group": "Part b", "definition": "gcd({numif},{h_coprime})", "description": "

gcd of the numerator of the improper fraction

", "templateType": "anything", "can_override": false}, "h_coprime": {"name": "h_coprime", "group": "Part b", "definition": "h/gcd_gh", "description": "", "templateType": "anything", "can_override": false}, "ee": {"name": "ee", "group": "Part d", "definition": "ddcc/4", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Part a", "definition": "random(3,5,7,11)", "description": "

Random number from 1 to 12.

", "templateType": "anything", "can_override": false}, "b_coprime": {"name": "b_coprime", "group": "Part a", "definition": "b/gcd_bd", "description": "", "templateType": "anything", "can_override": false}, "l_coprime2": {"name": "l_coprime2", "group": "Part c", "definition": "l_coprime^2/gcd_lcmc", "description": "", "templateType": "anything", "can_override": false}, "k_coprime": {"name": "k_coprime", "group": "Part b", "definition": "k/gcd_kj", "description": "", "templateType": "anything", "can_override": false}, "j": {"name": "j", "group": "Part b", "definition": "Random(3,5,7,11,13,17)", "description": "

Random number between 1 and 20

", "templateType": "anything", "can_override": false}, "dd": {"name": "dd", "group": "Part d", "definition": "random(1..3)", "description": "", "templateType": "anything", "can_override": false}, "gcd_lcmc": {"name": "gcd_lcmc", "group": "Part c", "definition": "gcd((l_coprime)^2,(m_coprime)^2)", "description": "", "templateType": "anything", "can_override": false}, "m_coprime2": {"name": "m_coprime2", "group": "Part c", "definition": "m_coprime^2/gcd_lcmc", "description": "", "templateType": "anything", "can_override": false}, "gcd_lm": {"name": "gcd_lm", "group": "Part c", "definition": "gcd(l,m)", "description": "", "templateType": "anything", "can_override": false}, "ab": {"name": "ab", "group": "Part a", "definition": "a_coprime*b_coprime", "description": "

Variable a times variable b

", "templateType": "anything", "can_override": false}, "gcd_bd": {"name": "gcd_bd", "group": "Part a", "definition": "gcd(b,d)", "description": "", "templateType": "anything", "can_override": false}, "gcd2": {"name": "gcd2", "group": "Part b", "definition": "gcd(num,denom)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Part a", "variables": ["a", "b", "c", "d", "a_coprime", "b_coprime", "c_coprime", "d_coprime", "gcd_ac", "gcd_bd", "ab", "cd", "gcd"]}, {"name": "Part b", "variables": ["f", "g", "g_coprime", "h", "h_coprime", "gcd_gh", "k", "k_coprime", "j", "j_coprime", "gcd_kj", "fh", "numif", "num", "denom", "gcda", "gcdb", "gcd2"]}, {"name": "Part d", "variables": ["aa", "bb", "cc", "dd", "ddcc", "ee"]}, {"name": "Part c", "variables": ["l", "m", "gcd_lm", "l_coprime", "m_coprime", "gcd_lcmc", "l_coprime2", "m_coprime2"]}], "functions": {}, "preamble": {"js": "", "css": "fraction {\n display: inline-block;\n vertical-align: middle;\n}\nfraction > numerator, fraction > denominator {\n float: left;\n width: 100%;\n text-align: center;\n line-height: 2.5em;\n}\nfraction > numerator {\n border-bottom: 1px solid;\n padding-bottom: 5px;\n}\nfraction > denominator {\n padding-top: 5px;\n}\nfraction input {\n line-height: 1em;\n}\n\nfraction .part {\n margin: 0;\n}\n\n.table-responsive, .fractiontable {\n display:inline-block;\n}\n.fractiontable {\n padding: 0; \n border: 0;\n}\n\n.fractiontable .tddenom \n{\n text-align: center;\n}\n\n.fractiontable .tdnum \n{\n border-bottom: 1px solid black; \n text-align: center;\n}\n\n\n.fractiontable tr {\n height: 3em;\n}\n"}, "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": "

$\\displaystyle\\frac{\\var{a_coprime}}{\\var{c_coprime}}\\times\\frac{\\var{b_coprime}}{\\var{d_coprime}}$ =  [[0]] [[1]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{ab}/{gcd}", "maxValue": "{ab}/{gcd}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{cd}/{gcd}", "maxValue": "{cd}/{gcd}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NG6 Divide Fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}, {"name": "Oliver Spenceley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/23557/"}], "tags": ["dividing fractions", "division of fractions", "Fractions", "fractions", "mixed numbers", "taxonomy"], "metadata": {"description": "

Several problems involving dividing fractions, with increasingly difficult examples, including mixed numbers and complex fractions. 

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

Evaluate the following sums involving division of fractions. Simplify your answers where possible. 

", "advice": "

When faced with dividing fractions, it much easier to switch one of the fractions around and multiply them together instead of divide them.

\n

\\[ \\left( \\frac{\\var{f_coprime}}{\\var{g_coprime}}\\div\\frac{\\var{h_coprime}}{\\var{j_coprime}} \\right) \\equiv \\left( \\frac{\\var{f_coprime}}{\\var{g_coprime}}\\times\\frac{\\var{j_coprime}}{\\var{h_coprime}} \\right) = \\frac{\\var{fj}}{\\var{gh}} \\]

\n

Then, simplify by finding the highest common divisor in the numerator and denominator which in this case is $\\var{gcd1}$. 

\n

This gives a final answer of $\\displaystyle\\simplify{{fj}/{gh}}$.

\n

\n

\n

Use this link to find some resources which will help you revise this topic

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"f4h4": {"name": "f4h4", "group": "Ungrouped variables", "definition": "f4*h4_coprime", "description": "

variable f4 times h4.

\n

Used in part c)

", "templateType": "anything", "can_override": false}, "g4_coprime": {"name": "g4_coprime", "group": "Ungrouped variables", "definition": "g4/gcd(g4,h4)", "description": "

PART C

", "templateType": "anything", "can_override": false}, "h4": {"name": "h4", "group": "Ungrouped variables", "definition": "random(5..8 except g4)", "description": "

Random number but not the same number as variable g4.

\n

Used in part c.

", "templateType": "anything", "can_override": false}, "h3_coprime": {"name": "h3_coprime", "group": "Ungrouped variables", "definition": "h3/gcd(g3,h3)", "description": "

PART C

", "templateType": "anything", "can_override": false}, "f_coprime": {"name": "f_coprime", "group": "part a", "definition": "f/gcd(f,g)", "description": "

PART A

", "templateType": "anything", "can_override": false}, "g_coprime": {"name": "g_coprime", "group": "part a", "definition": "g/gcd(f,g)", "description": "

PART A

", "templateType": "anything", "can_override": false}, "j1_coprime": {"name": "j1_coprime", "group": "Ungrouped variables", "definition": "j1/gcd(h1,j1)", "description": "

PART B

", "templateType": "anything", "can_override": false}, "gcd2": {"name": "gcd2", "group": "Ungrouped variables", "definition": "gcd(f1j1,g1h1)", "description": "

greatest common divisor of variables f1j1 and g1h1.

\n

Used in part b).

", "templateType": "anything", "can_override": false}, "g1_coprime": {"name": "g1_coprime", "group": "Ungrouped variables", "definition": "g1/gcd(f1,g1)", "description": "

PART B

", "templateType": "anything", "can_override": false}, "h1_coprime": {"name": "h1_coprime", "group": "Ungrouped variables", "definition": "h1/gcd(h1,j1)", "description": "

PART B

", "templateType": "anything", "can_override": false}, "gcd3": {"name": "gcd3", "group": "Ungrouped variables", "definition": "gcd(num,denom)", "description": "

greatest common denominator for part c. 

", "templateType": "anything", "can_override": false}, "j1": {"name": "j1", "group": "Ungrouped variables", "definition": "random(h1..11 except h1)", "description": "

Random number between 2 and 20 and not the same value as variable h1.

\n

Used in part b).

", "templateType": "anything", "can_override": false}, "g1h1": {"name": "g1h1", "group": "Ungrouped variables", "definition": "g1_coprime*h1_coprime", "description": "

variable g1 times h1. 

\n

Used in part b).

", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "part a", "definition": "random(2..10)", "description": "

Random number between 2 and 10.

\n

Used in part a).

", "templateType": "anything", "can_override": false}, "f4": {"name": "f4", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "

Random number.

\n

Used in part c).

", "templateType": "anything", "can_override": false}, "f1": {"name": "f1", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "

Random number between 2 and 20.

\n

Used in part b)

", "templateType": "anything", "can_override": false}, "g3": {"name": "g3", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "

Random number.

\n

Used in part c).

", "templateType": "anything", "can_override": false}, "f3h3": {"name": "f3h3", "group": "Ungrouped variables", "definition": "f3*h3_coprime", "description": "

variable f3 times h3.

", "templateType": "anything", "can_override": false}, "h": {"name": "h", "group": "part a", "definition": "random(2..10)", "description": "

Random number from 2 to 10.

\n

Used in part a).

", "templateType": "anything", "can_override": false}, "gh": {"name": "gh", "group": "part a", "definition": "g_coprime*h_coprime", "description": "

variable g times variable h.

\n

Used in part a).

", "templateType": "anything", "can_override": false}, "j_coprime": {"name": "j_coprime", "group": "part a", "definition": "j/gcd(h,j)", "description": "

PART A

", "templateType": "anything", "can_override": false}, "denom": {"name": "denom", "group": "Ungrouped variables", "definition": "h3_coprime*(f4h4+g4_coprime)", "description": "

Unsimplified denominator of part c.

", "templateType": "anything", "can_override": false}, "j": {"name": "j", "group": "part a", "definition": "random(h..12 except h)", "description": "

Random number between 2 and 10 and not the same value as h.

\n

Used in part a).

", "templateType": "anything", "can_override": false}, "f1j1": {"name": "f1j1", "group": "Ungrouped variables", "definition": "f1_coprime*j1_coprime", "description": "

variable f1 times j1.

\n

Used in part b).

", "templateType": "anything", "can_override": false}, "h4_coprime": {"name": "h4_coprime", "group": "Ungrouped variables", "definition": "h4/gcd(g4,h4)", "description": "

PART C

", "templateType": "anything", "can_override": false}, "g1": {"name": "g1", "group": "Ungrouped variables", "definition": "random(f1..11 except f1) ", "description": "

Random number between 2 and 30 and not the same value as variable f1.

\n

Used in part b).

", "templateType": "anything", "can_override": false}, "fj": {"name": "fj", "group": "part a", "definition": "f_coprime*j_coprime", "description": "

variable f times variable j.

\n

Used in part a).

", "templateType": "anything", "can_override": false}, "f3": {"name": "f3", "group": "Ungrouped variables", "definition": "random(1 .. 3#1)", "description": "

Random number between 2 and 6.

\n

Used in part c).

", "templateType": "randrange", "can_override": false}, "f1_coprime": {"name": "f1_coprime", "group": "Ungrouped variables", "definition": "f1/gcd(f1,g1)", "description": "

PART B

", "templateType": "anything", "can_override": false}, "h3": {"name": "h3", "group": "Ungrouped variables", "definition": "random(5..8)", "description": "

Random number and not the same value as variable g3. 

\n

Used in part c).

", "templateType": "anything", "can_override": false}, "gcd1": {"name": "gcd1", "group": "part a", "definition": "gcd(fj,gh)", "description": "

greatest common divisor of variable fj and gh.

\n

Used in part a).

", "templateType": "anything", "can_override": false}, "g3_coprime": {"name": "g3_coprime", "group": "Ungrouped variables", "definition": "g3/gcd(g3,h3)", "description": "

PART C

", "templateType": "anything", "can_override": false}, "h_coprime": {"name": "h_coprime", "group": "part a", "definition": "h/gcd(h,j)", "description": "

PART A

", "templateType": "anything", "can_override": false}, "g4": {"name": "g4", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "

Random number.

\n

Used in part c).

", "templateType": "anything", "can_override": false}, "h1": {"name": "h1", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "

Random number between 2 and 20. 

\n

Used in part b).

", "templateType": "anything", "can_override": false}, "num": {"name": "num", "group": "Ungrouped variables", "definition": "h4_coprime*(f3h3+g3_coprime)", "description": "

numerator of the improper fraction in part c. Unsimplified. 

", "templateType": "anything", "can_override": false}, "g": {"name": "g", "group": "part a", "definition": "random(2..10)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["f1", "g1", "f1_coprime", "g1_coprime", "h1", "j1", "h1_coprime", "j1_coprime", "f1j1", "g1h1", "gcd2", "f3", "g3", "h3", "g3_coprime", "h3_coprime", "f4", "g4", "h4", "g4_coprime", "h4_coprime", "f3h3", "f4h4", "num", "denom", "gcd3"], "variable_groups": [{"name": "part a", "variables": ["g", "f", "f_coprime", "g_coprime", "h", "j", "h_coprime", "j_coprime", "fj", "gh", "gcd1"]}], "functions": {}, "preamble": {"js": "", "css": "fraction {\n display: inline-block;\n vertical-align: middle;\n}\nfraction > numerator, fraction > denominator {\n float: left;\n width: 100%;\n text-align: center;\n line-height: 2.5em;\n}\nfraction > numerator {\n border-bottom: 1px solid;\n padding-bottom: 5px;\n}\nfraction > denominator {\n padding-top: 5px;\n}\nfraction input {\n line-height: 1em;\n}\n\nfraction .part {\n margin: 0;\n}\n\n.table-responsive, .fractiontable {\n display:inline-block;\n}\n.fractiontable {\n padding: 0; \n border: 0;\n}\n\n.fractiontable .tddenom \n{\n text-align: center;\n}\n\n.fractiontable .tdnum \n{\n border-bottom: 1px solid black; \n text-align: center;\n}\n\n\n.fractiontable tr {\n height: 3em;\n}\n"}, "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": "

$\\displaystyle\\frac{\\var{f_coprime}}{\\var{g_coprime}}\\div\\frac{\\var{h_coprime}}{\\var{j_coprime}}=$  [[0]] [[1]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "fj/gcd1", "maxValue": "fj/gcd1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "gh/gcd1", "maxValue": "gh/gcd1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NG8 - Ordering fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": [], "metadata": {"description": "

Put fractions in size order.

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

Which of these two fractions is the largest?

", "advice": "

To find which is bigger of $\\frac{\\var{top1}}{\\var{bot1}}$ and $\\frac{\\var{top2}}{\\var{bot2}}$ we need them to have the same denominator. A way to do this is to multiply the top and bottom of $\\frac{\\var{top1}}{\\var{bot1}}$ by $\\var{bot2}$ and multiply the top and bottom of $\\frac{\\var{top2}}{\\var{bot2}}$ by {bot1}. This doesn't change the the value of the fractions as this is just like multiplying by one.

\n

\\[\\frac{\\var{top1}}{\\var{bot1}}=\\frac{\\var{top1*bot2}}{\\var{bot1*bot2}},\\quad \\frac{\\var{top2}}{\\var{bot2}}=\\frac{\\var{top2*bot1}}{\\var{bot1*bot2}}\\]

\n

Now we can easily see which is bigger by comparing the numerator.

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"top1": {"name": "top1", "group": "Ungrouped variables", "definition": "random(1..(bot1-1))", "description": "", "templateType": "anything", "can_override": false}, "top2": {"name": "top2", "group": "Ungrouped variables", "definition": "random(1..(bot2-1))", "description": "", "templateType": "anything", "can_override": false}, "bot1": {"name": "bot1", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "", "templateType": "anything", "can_override": false}, "bot2": {"name": "bot2", "group": "Ungrouped variables", "definition": "random(1..10 except bot1)", "description": "", "templateType": "anything", "can_override": false}, "frac1": {"name": "frac1", "group": "Ungrouped variables", "definition": "top1/bot1", "description": "", "templateType": "anything", "can_override": false}, "frac2": {"name": "frac2", "group": "Ungrouped variables", "definition": "top2/bot2", "description": "", "templateType": "anything", "can_override": false}, "Is1Bigger": {"name": "Is1Bigger", "group": "Ungrouped variables", "definition": "award(1,frac1>frac2)", "description": "", "templateType": "anything", "can_override": false}, "Is2Bigger": {"name": "Is2Bigger", "group": "Ungrouped variables", "definition": "award(1,frac2>frac1)", "description": "", "templateType": "anything", "can_override": false}, "Question": {"name": "Question", "group": "Ungrouped variables", "definition": "[string(top1)+\"/\"+string(bot1),string(top2)+\"/\"+string(bot2)]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "abs(frac1-frac2)>0", "maxRuns": "250"}, "ungrouped_variables": ["top1", "top2", "bot1", "bot2", "frac1", "frac2", "Is1Bigger", "Is2Bigger", "Question"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": "Question", "matrix": "[Is1Bigger,Is2Bigger]"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NF5 - Percentage of amount 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": [], "metadata": {"description": "

Find a percentage of an amount.

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

What is {x}% of {y}?

", "advice": "

Taking {x}% of {y} is calculated by multiplying,

\n

\\[\\frac{\\var{x}}{100}\\times\\var{y}.\\]

\n

For this question we can calculate this by noticing that 10% of {y} is {y*0.1} and then since $\\var{x}\\%=\\var{x/10}\\times10\\%$ we can calculate {x}% of {y} as,
\\[\\var{x/10}\\times10\\%\\times \\var{y}=\\var{x/10}\\times\\var{y*0.1}=\\var{x/100*y}.\\]

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"x": {"name": "x", "group": "Ungrouped variables", "definition": "random(10..90 #10)", "description": "", "templateType": "anything", "can_override": false}, "y": {"name": "y", "group": "Ungrouped variables", "definition": "random(10.. 100 # 10)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["x", "y"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "y*(x/100)", "maxValue": "y*(x/100)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NF7 One number as a percentage of another", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}, {"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}, {"name": "Megan Oliver", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/23526/"}], "tags": [], "metadata": {"description": "

Given the number of international students enrolled on a course of $n$ students, calculate the percentage of 'home' students.

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

{num_students} of the {class_size} students enrolled on a course are international students.  What percentage are 'home' students?

", "advice": "

First work out the number of students who are not international. In this case it is {class_size} - {num_students} = {class_size-num_students} students.

\n

Then write this as a fraction out of {class_size}.   $ \\frac{\\var{class_size-num_students}} {\\var{class_size}} $

\n

Then convert this to a percentage. You should put this fraction into your calculator and then multiply by 100:

\n

 $ \\frac{\\var{class_size-num_students}} {\\var{class_size}} \\times 100 = \\var{(class_size-num_students)/class_size*100}\\%$

\n

Use this link to find resources to help you revise how to calculate percentages.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"num_students": {"name": "num_students", "group": "Ungrouped variables", "definition": "per*class_size/100\n", "description": "

The number of students in the class who do speak a language other than English. 

", "templateType": "anything", "can_override": false}, "class_size": {"name": "class_size", "group": "Ungrouped variables", "definition": "random(80..300)", "description": "", "templateType": "anything", "can_override": false}, "per": {"name": "per", "group": "Ungrouped variables", "definition": "random(5..90 except 50)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "num_students = precround(num_students,0)", "maxRuns": 100}, "ungrouped_variables": ["num_students", "class_size", "per"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "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": "
\n

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$\\var{class_size-num_students}\\%$", "$\\var{num_students*100/class_size}\\%$", "$\\var{num_students}\\%$", "$\\var{(class_size-num_students)/class_size*100}\\%$"], "matrix": [0, 0, 0, "1"], "distractors": ["Have you converted this to a percentage? Click on Reveal Answer and scroll down for Advice regarding this question.", "How many students do NOT speak a language other than English at home? Click on Reveal Answer and scroll down for Advice regarding this question.", "How many students do NOT speak a language other than English at home? Then convert this to a percentage. Click on Reveal Answer and scroll down for Advice regarding this question.", "Well done!"]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NF1 Percentage increase", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": [], "metadata": {"description": "

Calculate the percentage increase (as a percentage) given a number and the size of the increase.

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

What is the percentage increase in a class of {total} if {additional} more are added to it?

\n

Give your answer to 2 decimal places.

", "advice": "

To calculate a percentage increase you need to find how much the increase is as a percentage of the original number. In this question the increase is {additional} and the original number is {total} so the percentage is

\n

\\[ \\frac{\\var{additional}}{\\var{total}}\\times100\\%=\\var{dpformat(additional/total,4)}\\times 100\\%=\\var{dpformat(percentage,2)}\\%\\]

\n

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"total": {"name": "total", "group": "Ungrouped variables", "definition": "random(15..60)", "description": "", "templateType": "anything", "can_override": false}, "additional": {"name": "additional", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "", "templateType": "anything", "can_override": false}, "percentage": {"name": "percentage", "group": "Ungrouped variables", "definition": "additional/total*100", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["total", "additional", "percentage"], "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": "

[[0]]%

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "percentage", "maxValue": "percentage", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NF3 - Percentage change (decrease then increase)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": [], "metadata": {"description": "

Compound percentage change.

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

The value of a car is initially {StartingPrice}. If the value decreases by {dec}%, and then increases by {inc}%, what is the final value?

\n

Give your answer correct to two decimal places.

", "advice": "

There is a {dec}% decrease in price. This means that price after the decrease will be {100-dec}% of the old price.

\n

\\[\\frac{\\var{100-dec}}{100} \\times \\var{StartingPrice} = \\var{(100-dec)/100*StartingPrice}\\]

\n

Then there is a {inc}% increase in price. This means the final price will be {100+inc}% of the price after the decrease.

\n

\\[\\frac{\\var{100+inc}}{100} \\times \\var{(100-dec)/100*StartingPrice} = £\\var{dpformat((100+inc)/100*(100-dec)/100*StartingPrice,2)}\\]

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"dec": {"name": "dec", "group": "Ungrouped variables", "definition": "random(1..50)", "description": "", "templateType": "anything", "can_override": false}, "inc": {"name": "inc", "group": "Ungrouped variables", "definition": "random(1..50)", "description": "", "templateType": "anything", "can_override": false}, "FinalPrice": {"name": "FinalPrice", "group": "Ungrouped variables", "definition": "StartingPrice*(1-dec/100)*(1+inc/100)", "description": "", "templateType": "anything", "can_override": false}, "StartingPrice": {"name": "StartingPrice", "group": "Ungrouped variables", "definition": "random(600..8000 # 10)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["dec", "inc", "FinalPrice", "StartingPrice"], "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": "

\n

£[[0]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "FinalPrice", "maxValue": "FinalPrice", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NF4 Reverse percentages", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Stanislav Duris", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1590/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": ["decrease", "percentages", "taxonomy"], "metadata": {"description": "

Find the original price before a discount by dividing the new price by the percentage discount.

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

{name1} and {name2} are friends. {name1} noticed {name2}'s new {item} when he came over to visit her house. He immediately knew he wanted to buy the same model. When he got home, he bought the {item} online for £{newprice}.

", "advice": "

We need to find the original price paid by {name2}. This value represents 100%.

\n

By the time {name1} bought the {item}, the price had decreased by {percentage}%.

\n

{name1} therefore paid {100-percentage}% of the price {name2} paid.

\n

\n

We use the unitary method to find the original price. We know the price paid by {name1}.

\n

\\[\\var{100-percentage}\\text{%} = \\var{newprice} \\text{.}\\]

\n

Divide both sides by {100-percentage} to get

\n

\\[\\begin{align} 1\\text{%} &= \\var{newprice} \\div \\var{100-percentage} \\\\&= \\var{newprice/(100-percentage)} \\text{.} \\end{align}\\]

\n

Multiply both sides by 100 to get

\n

\\[\\begin{align} 100\\text{%} &= \\var{newprice/(100-percentage)} \\times 100 \\\\&= \\var{newprice/(100-percentage)*100} \\\\&= \\var{oldprice}\\text{.} \\end{align}\\]

\n

This is the original price paid by {name2} before the {percentage}% decrease.

\n

We can check our answer with a different method.

\n

\\[\\begin{align} \\var{100-percentage}\\text{% of } \\var{oldprice} &= \\var{(100-percentage)/100} \\times \\var{oldprice} \\\\&=  \\var{(100-percentage)/100*oldprice} \\\\&= \\var{precround((100-percentage)/100*oldprice, 2)}  \\text{.} \\end{align}\\]

\n

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"newprice": {"name": "newprice", "group": "Ungrouped variables", "definition": "precround(oldprice*(100-percentage)/100,2)", "description": "", "templateType": "anything", "can_override": false}, "name2": {"name": "name2", "group": "Ungrouped variables", "definition": "random(\"Kaden\",\"Ola\",\"Pat\",\"Skylar\",\"Wren\",\"Zendaya\")", "description": "", "templateType": "anything", "can_override": false}, "name1": {"name": "name1", "group": "Ungrouped variables", "definition": "random(\"Adair\",\"Aya\",\"Bergen\",\"Dua\",\"Fadhili\",\"Harper\")", "description": "", "templateType": "anything", "can_override": false}, "oldprice": {"name": "oldprice", "group": "Ungrouped variables", "definition": "switch(\n item = \"TV\", random(179.99..1199.99 #10), \n item = \"laptop\", random(209.99..799.99 #10),\n item = \"smartphone\", random(109.99..799.99 #10),\n item = \"PC\", random(209.99..969.99 #10),\n item = \"gaming console\", random(89.99..349.99 #10),\n 399.99)", "description": "", "templateType": "anything", "can_override": false}, "percentage": {"name": "percentage", "group": "Ungrouped variables", "definition": "random(5..30)", "description": "

Discount percentage.

", "templateType": "anything", "can_override": false}, "item": {"name": "item", "group": "Ungrouped variables", "definition": "random(\"TV\", \"laptop\", \"smartphone\", \"PC\", \"gaming console\")", "description": "

The bought item.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "precround(precround(oldprice*(100-percentage)/100,2)*100/(100-percentage),2) = oldprice", "maxRuns": "1000"}, "ungrouped_variables": ["item", "name1", "percentage", "name2", "oldprice", "newprice"], "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": "

When {name1} told {name2} how much he had paid for the {item}, {name2} said the price had decreased by {percentage}% since she bought it.

\n

How much did {name2} pay for the {item}?

\n

£  [[0]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "oldprice", "maxValue": "oldprice", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "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"}]}, {"name": "Week 4", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", ""], "variable_overrides": [[], [], []], "questions": [{"name": "AC1 Solve linear equations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "heike hoffmann", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2960/"}, {"name": "sean hunte", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3167/"}, {"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Megan Oliver", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/23526/"}], "tags": [], "metadata": {"description": "

Solve linear equations with unkowns on both sides. Including brackets and fractions.

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

Given $\\simplify{{m}w-{n} = {p}w+{q}}$, we can get all the $w$'s on the left hand side and all the numbers on the right hand side, and then divide both sides by the coefficient of $w$ to get $w$ by itself.

\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
 
$\\simplify{{m}w+{n}}$$=$$\\simplify{{p}w+{q}}$
 
$\\simplify[!cancelTerms,unitFactor]{{m}w-{n}-{p}w}$$=$$\\simplify[!cancelTerms,unitFactor]{{p}w+{q}-{p}w}$
 
$\\simplify{{m-p}w-{n}}$$=$$\\var{q}$
 
$\\var{m-p}w-\\var{n}+\\var{n}$$=$$\\var{q}+\\var{n}$
 
$\\var{m-p}w$$=$$\\var{q+n}$
 
$\\displaystyle{\\frac{\\var{m-p}w}{\\var{m-p}}}$$=$$\\displaystyle{\\frac{\\var{q+n}}{\\var{m-p}}}$
 
$w$$=$$\\displaystyle{\\simplify{{q+n}/{m-p}}} = \\var{precround(ansA,1)} \\text{ to 1 dp}$
\n


Use this link to find resources to help you revise how to solve linear equations

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"p": {"name": "p", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "", "templateType": "anything", "can_override": false}, "m": {"name": "m", "group": "Ungrouped variables", "definition": "random(2..12)", "description": "", "templateType": "anything", "can_override": false}, "q": {"name": "q", "group": "Ungrouped variables", "definition": "random(1..12)", "description": "", "templateType": "anything", "can_override": false}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "random(1..12)", "description": "", "templateType": "anything", "can_override": false}, "l": {"name": "l", "group": "Ungrouped variables", "definition": "random(2..12)", "description": "", "templateType": "anything", "can_override": false}, "ansA": {"name": "ansA", "group": "Ungrouped variables", "definition": "(q+n)/(m-p)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": "100"}, "ungrouped_variables": ["l", "m", "n", "p", "q", "ansA"], "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": "

Solve  $\\simplify{({m}w-{n}) = {p}w+{q}}$

\n

$w=$ [[0]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "ansA", "maxValue": "ansA", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "1", "precisionPartialCredit": "100", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "AC2 Solve Linear equations with fractions 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "heike hoffmann", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2960/"}, {"name": "sean hunte", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3167/"}, {"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}, {"name": "Megan Oliver", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/23526/"}], "tags": [], "metadata": {"description": "

Solve linear equations with unkowns on both sides. Including brackets and fractions.

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

\n

To solve an equation like

\n

$\\displaystyle{\\frac{x+\\var{num1}}{\\var{num2}}+\\frac{x}{\\var{num3}}=\\var{num4}},$

\n

the first thing to deal with is the denominators of the fractions. In order to do that you multiply both sides of the equation by both denominators $\\var{num2}$ and $\\var{num3}$ (or their lowest common multiple to be slightly more efficient). This will give something equivalent to:

\n

$\\displaystyle{\\var{num3 + num2} x+\\var{num3*num1} = \\var{num2*num3*num4}.}$

\n

Then proceeding by subtracting $\\var{num3*num1} from both sides:

\n

$\\displaystyle{\\var{num3 + num2} x = \\var{num2*num3*num4-num3*num1}.}$

\n

And finally dividing by $\\var{num2+num3}$:

\n

$\\displaystyle{x = \\frac{\\var{num2*num3*num4-num3*num1}}{\\var{num2+num3}}.}$

\n


Use this link to find resources to help you revise how to solve linear equations

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"num1": {"name": "num1", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything", "can_override": false}, "num2": {"name": "num2", "group": "Ungrouped variables", "definition": "random(2..15)", "description": "", "templateType": "anything", "can_override": false}, "num3": {"name": "num3", "group": "Ungrouped variables", "definition": "random(2..9 except num2)", "description": "", "templateType": "anything", "can_override": false}, "num4": {"name": "num4", "group": "Ungrouped variables", "definition": "random(-15..15)", "description": "", "templateType": "anything", "can_override": false}, "ans": {"name": "ans", "group": "Ungrouped variables", "definition": "(num4*num3*num2-num1*num3)/(num2+num3)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": "100"}, "ungrouped_variables": ["num1", "num2", "num3", "num4", "ans"], "variable_groups": [{"name": "e", "variables": []}], "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": "

Solve $\\displaystyle{\\frac{x+\\var{num1}}{\\var{num2}}+\\frac{x}{\\var{num3}}=\\var{num4}}$.

\n

$x=$ [[0]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{ans}", "maxValue": "{ans}", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "AC6 Rearrange Formulae", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mash Sheffield", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4679/"}, {"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}, {"name": "Luigi Pivano", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18182/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "tags": [], "metadata": {"description": "

Rearrange a specific formula. No randomisation.

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

Rearrange the following equation, to make $y$ the subject:

\n

\\[{cy -b = 3x}\\] 

", "advice": "

In order to rearrange the equation so that it is in terms of $y$, we must first add $b$ to both sides, and then divide both sides of the equation by $c$:

\n

\\begin{split} cy-b  &= 3x \\\\ cy &= 3x + b \\\\ y &=\\frac{3x+b}{c} \\end{split}

\n

\n

Use this link to find some resources which will help you revise this topic.

\n

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "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": "

$y=$ [[0]]

", "gaps": [{"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, "answer": "(3x+b)/c", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "b", "value": ""}, {"name": "c", "value": ""}, {"name": "x", "value": ""}]}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "allowPrinting": true, "navigation": {"allowregen": true, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": true, "showresultspage": "oncompletion", "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": true, "typeendtoleave": true, "startpassword": "", "allowAttemptDownload": true, "downloadEncryptionKey": ""}, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "feedback": {"showactualmark": true, "showtotalmark": true, "showanswerstate": true, "allowrevealanswer": true, "advicethreshold": 0, "intro": "

These questions are a summary of the topics covered in the first 4 weeks of the semester.

\n

\n

Negative Numbers

\n

BIDMAS

\n

Calculations with indices

\n

Decimals

\n

Rounding

\n

Standard form

\n

Converting metric units

\n

Fractions

\n

Percentages

\n

Rearranging algebraic formulae

\n

\n

In the answers to each question you can find links to materials through the MaSH website to help you study those topics.

\n

You can always contact the Maths and Stats Help team (MaSH) to arrange a one to one appointment or check out our workshop timetable to see if you can access the support you need that way.

\n

Find all this information via our website here!

", "end_message": "

Thanks for completing this quiz. Don't forget to check out the MaSH resources on their website here.

", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": true, "results_options": {"printquestions": true, "printadvice": true}, "feedbackmessages": []}, "diagnostic": {"knowledge_graph": {"topics": [], "learning_objectives": []}, "script": "diagnosys", "customScript": ""}, "contributors": [{"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}], "extensions": [], "custom_part_types": [], "resources": []}