// Numbas version: exam_results_page_options {"name": "Percentage increases and decreases", "metadata": {"description": "

A quick practice set of problems for education students to take in preparation for their numeracy test.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "duration": 0, "percentPass": 0, "showQuestionGroupNames": false, "shuffleQuestionGroups": false, "showstudentname": true, "question_groups": [{"name": "Group", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", "", "", "", "", ""], "variable_overrides": [[], [], [], [], [], [], []], "questions": [{"name": "Percentage discount: Find discounted price", "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/"}], "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"discount_percent": {"name": "discount_percent", "group": "Ungrouped variables", "definition": "random(4..60 except 0..60#10)", "description": "", "templateType": "anything", "can_override": false}, "remainder_percent": {"name": "remainder_percent", "group": "Ungrouped variables", "definition": "100-discount_percent", "description": "", "templateType": "anything", "can_override": false}, "original_price": {"name": "original_price", "group": "Ungrouped variables", "definition": "random(40..250)", "description": "", "templateType": "anything", "can_override": false}, "remainder_decimal": {"name": "remainder_decimal", "group": "Ungrouped variables", "definition": "remainder_percent*0.01", "description": "", "templateType": "anything", "can_override": false}, "sale_price": {"name": "sale_price", "group": "Ungrouped variables", "definition": "remainder_decimal*original_price", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["discount_percent", "remainder_percent", "original_price", "remainder_decimal", "sale_price"], "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": "

An item, originally priced at $\\$\\var{original_price}$, is on sale with $\\var{discount_percent}\\%$ off. To determine the sale price:

\n

Instead of determining $\\var{discount_percent}\\%$ of the original price and subtracting that from the original, we can simply find [[0]] $\\%$ of the original price. 

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Sale price$ = $[[0]] $\\%$ of $\\$$ [[1]]
$ = $[[2]] $\\times$ [[1]]
$ = $[[3]]
\n

We think of this as scaling/stretching/shrinking the original price by multiplying by [[2]]. This multiplication approach is often more useful than a subtraction approach.

", "stepsPenalty": "4", "steps": [{"type": "information", "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": "

The original amount is a full $100\\%$ of the original. So if we remove $\\var{discount_percent}\\%$ from the $100\\%$ we have $100\\%-\\var{discount_percent}\\%=\\var{remainder_percent}\\%$ left. 

\n

To find the discounted price we can find $\\var{remainder_percent}\\%$ of $\\$\\var{original_price}$ by calculating $\\var{remainder_decimal}\\times \\var{original_price}=\\var{sale_price}$. 

\n

Therefore the sale price is $\\$\\var{sale_price}$.

\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": "{remainder_percent}", "maxValue": "{remainder_percent}", "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": "{original_price}", "maxValue": "{original_price}", "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": "{remainder_decimal}", "maxValue": "{remainder_decimal}", "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": "{sale_price}", "maxValue": "{sale_price}", "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": "Percentage increase: Find new price", "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/"}], "tags": [], "metadata": {"description": "

A scaffolded question on increasing a price by a percentage

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"discount_percent": {"name": "discount_percent", "group": "Ungrouped variables", "definition": "random(4..60 except 0..60#10)", "description": "", "templateType": "anything", "can_override": false}, "remainder_percent": {"name": "remainder_percent", "group": "Ungrouped variables", "definition": "100+discount_percent", "description": "", "templateType": "anything", "can_override": false}, "original_price": {"name": "original_price", "group": "Ungrouped variables", "definition": "random(40..250)", "description": "", "templateType": "anything", "can_override": false}, "remainder_decimal": {"name": "remainder_decimal", "group": "Ungrouped variables", "definition": "remainder_percent*0.01", "description": "", "templateType": "anything", "can_override": false}, "sale_price": {"name": "sale_price", "group": "Ungrouped variables", "definition": "remainder_decimal*original_price", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["discount_percent", "remainder_percent", "original_price", "remainder_decimal", "sale_price"], "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": "

An item, originally priced at $\\$\\var{original_price}$, has its price increased by $\\var{discount_percent}\\%$. To determine the new price:

\n

Instead of determining $\\var{discount_percent}\\%$ of the original price and adding that to the original, we can simply find [[0]] $\\%$ of the original price. 

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
New price$ = $[[0]] $\\%$ of $\\$$ [[1]]
$ = $[[2]] $\\times$ [[1]]
$ = $[[3]]
\n

We think of this as scaling/stretching the original price by multiplying by [[2]]. This multiplication approach is often more useful than the addition approach.

", "stepsPenalty": "4", "steps": [{"type": "information", "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": "

The original amount is a full $100\\%$ of the original. So if we add $\\var{discount_percent}\\%$ to the $100\\%$ we have $100\\%+\\var{discount_percent}\\%=\\var{remainder_percent}\\%$ of the original. 

\n

To find the new price we can find $\\var{remainder_percent}\\%$ of $\\$\\var{original_price}$ by calculating $\\var{remainder_decimal}\\times \\var{original_price}=\\var{sale_price}$. 

\n

Therefore the new price is $\\$\\var{sale_price}$.

\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": "{remainder_percent}", "maxValue": "{remainder_percent}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "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": "{original_price}", "maxValue": "{original_price}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "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": "{remainder_decimal}", "maxValue": "{remainder_decimal}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "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": "{sale_price}", "maxValue": "{sale_price}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Percentage discount: Find the discount percentage", "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/"}], "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"discount_percent": {"name": "discount_percent", "group": "Ungrouped variables", "definition": "random(4..60 except 0..60#10)", "description": "", "templateType": "anything", "can_override": false}, "remainder_percent": {"name": "remainder_percent", "group": "Ungrouped variables", "definition": "100-discount_percent", "description": "", "templateType": "anything", "can_override": false}, "original_price": {"name": "original_price", "group": "Ungrouped variables", "definition": "random(40..250)", "description": "", "templateType": "anything", "can_override": false}, "remainder_decimal": {"name": "remainder_decimal", "group": "Ungrouped variables", "definition": "remainder_percent*0.01", "description": "", "templateType": "anything", "can_override": false}, "sale_price": {"name": "sale_price", "group": "Ungrouped variables", "definition": "remainder_decimal*original_price", "description": "", "templateType": "anything", "can_override": false}, "price_difference": {"name": "price_difference", "group": "Ungrouped variables", "definition": "original_price-sale_price", "description": "", "templateType": "anything", "can_override": false}, "discount_decimal": {"name": "discount_decimal", "group": "Ungrouped variables", "definition": "discount_percent*0.01", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["discount_percent", "remainder_percent", "original_price", "remainder_decimal", "sale_price", "price_difference", "discount_decimal"], "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": "

An item, originally priced at $\\$\\var{original_price}$, is on sale for $\\$\\var{sale_price}$. 

\n

The percentage discount must be [[0]]$\\%$.

\n

", "stepsPenalty": "1", "steps": [{"type": "information", "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": "

Note: Since the discount is off the original price, the discount percentage is a percentage of the original price.

\n

\n

You should understand both approaches below (even though approach 2 might be more obvious):

\n

\n

Approach 1

\n

We can determine what proportion of the original price the new price is, by doing

\n

$\\dfrac{\\text{new price}}{\\text{original price}}=\\dfrac{\\var{sale_price}}{\\var{original_price}}=\\var{remainder_decimal}=\\var{remainder_percent}\\%$

\n

and we can say: 

\n

\"The sale price is $\\var{remainder_decimal}$ of the original\" or

\n

\"The sale price is $\\var{remainder_percent}\\%$ of the original.\"

\n

This means that the discount percentage must have been $100\\%-\\var{remainder_percent}\\%=\\var{discount_percent}\\%$.

\n

\n

Approach 2

\n

The discount results is a saving of $\\$\\var{original_price}-\\$\\var{sale_price}=\\$\\var{price_difference}$.

\n

Of the original price, this represents $\\dfrac{\\var{price_difference}}{\\text{original price}}=\\dfrac{\\var{price_difference}}{\\var{original_price}}=\\var{discount_decimal}=\\var{discount_percent}\\%$

\n

and therefore the discount percentage was $\\var{discount_percent}\\%$.

\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": "{discount_percent}", "maxValue": "{discount_percent}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Percentage increase: Find the percentage increase", "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/"}], "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"discount_percent": {"name": "discount_percent", "group": "Ungrouped variables", "definition": "random(4..60 except 0..60#10)", "description": "", "templateType": "anything", "can_override": false}, "remainder_percent": {"name": "remainder_percent", "group": "Ungrouped variables", "definition": "100+discount_percent", "description": "", "templateType": "anything", "can_override": false}, "original_price": {"name": "original_price", "group": "Ungrouped variables", "definition": "random(40..250)", "description": "", "templateType": "anything", "can_override": false}, "remainder_decimal": {"name": "remainder_decimal", "group": "Ungrouped variables", "definition": "remainder_percent*0.01", "description": "", "templateType": "anything", "can_override": false}, "sale_price": {"name": "sale_price", "group": "Ungrouped variables", "definition": "remainder_decimal*original_price", "description": "", "templateType": "anything", "can_override": false}, "price_difference": {"name": "price_difference", "group": "Ungrouped variables", "definition": "sale_price-original_price", "description": "", "templateType": "anything", "can_override": false}, "discount_decimal": {"name": "discount_decimal", "group": "Ungrouped variables", "definition": "discount_percent*0.01", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["discount_percent", "remainder_percent", "original_price", "remainder_decimal", "sale_price", "price_difference", "discount_decimal"], "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": "

An item, originally priced at $\\$\\var{original_price}$, has its price increased to $\\$\\var{sale_price}$. 

\n

The price was increased by [[0]]$\\%$.

\n

", "stepsPenalty": "1", "steps": [{"type": "information", "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": "

Note: Since the increase is to the original price, the percentage increase is a percentage of the original price.

\n

\n

You should understand both approaches below (even though approach 2 might be more obvious):

\n

\n

Approach 1

\n

We can determine what proportion of the original price the new price is, by doing

\n

$\\dfrac{\\text{new price}}{\\text{original price}}=\\dfrac{\\var{sale_price}}{\\var{original_price}}=\\var{remainder_decimal}=\\var{remainder_percent}\\%$

\n

and we can say: 

\n

\"The new price is $\\var{remainder_decimal}$ of the original\" or

\n

\"The new price is $\\var{remainder_percent}\\%$ of the original.\"

\n

This means that the percentage increase must have been $\\var{remainder_percent}\\%-100\\%=\\var{discount_percent}\\%$.

\n

\n

Approach 2

\n

The increase was of $\\$\\var{sale_price}-\\$\\var{original_price}=\\$\\var{price_difference}$.

\n

Of the original price, this represents $\\dfrac{\\var{price_difference}}{\\text{original price}}=\\dfrac{\\var{price_difference}}{\\var{original_price}}=\\var{discount_decimal}=\\var{discount_percent}\\%$

\n

and therefore the percentage increase was $\\var{discount_percent}\\%$.

\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": "{discount_percent}", "maxValue": "{discount_percent}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Percentage discount: Find the original price", "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/"}], "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"discount_percent": {"name": "discount_percent", "group": "Ungrouped variables", "definition": "random(4..60 except 0..60#10)", "description": "", "templateType": "anything", "can_override": false}, "remainder_percent": {"name": "remainder_percent", "group": "Ungrouped variables", "definition": "100-discount_percent", "description": "", "templateType": "anything", "can_override": false}, "original_price": {"name": "original_price", "group": "Ungrouped variables", "definition": "random(40..250)", "description": "", "templateType": "anything", "can_override": false}, "remainder_decimal": {"name": "remainder_decimal", "group": "Ungrouped variables", "definition": "remainder_percent*0.01", "description": "", "templateType": "anything", "can_override": false}, "sale_price": {"name": "sale_price", "group": "Ungrouped variables", "definition": "remainder_decimal*original_price", "description": "", "templateType": "anything", "can_override": false}, "price_difference": {"name": "price_difference", "group": "Ungrouped variables", "definition": "original_price-sale_price", "description": "", "templateType": "anything", "can_override": false}, "discount_decimal": {"name": "discount_decimal", "group": "Ungrouped variables", "definition": "discount_percent*0.01", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["discount_percent", "remainder_percent", "original_price", "remainder_decimal", "sale_price", "price_difference", "discount_decimal"], "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": "

An item has a sale price of $\\$\\var{sale_price}$ during an $\\var{discount_percent}\\%$ off sale. 

\n

What was the item's original price? $\\$$ [[0]]

\n

", "stepsPenalty": "1", "steps": [{"type": "information", "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": "

Note, you can't just add $\\var{discount_percent}\\%$ of $\\$\\var{sale_price}$ onto $\\$\\var{sale_price}$ since it was $\\var{discount_percent}\\%$ of the unknown original price that was taken away.

\n

\n

You should understand all three approaches below (and convince yourself that the final calculations in each method are all equivalent):

\n

\n

Unitary approach

\n

We know that $\\var{remainder_percent}\\%$ of the original amount is $\\$\\var{sale_price}$.

\n

This means that $1\\%$ of the original amount is $\\$\\dfrac{\\var{sale_price}}{\\var{remainder_percent}}$ (by dividing both amounts by $\\var{remainder_percent}$).

\n

And that $100\\%$ of the original amount is $\\$\\dfrac{\\var{sale_price}}{\\var{remainder_percent}}\\times 100$ (by multiplying both amounts by $100$).

\n

Working this out (with or without a calculator) we find the original price is $\\$\\var{original_price}$.

\n

\n

Scaling approach

\n

We know that $\\var{remainder_percent}\\%$ of the original amount is $\\$\\var{sale_price}$.

\n

To scale/stretch $\\var{remainder_percent}\\%$ into $100\\%$ we need to multiply it by $\\dfrac{100}{\\var{remainder_percent}}$.

\n

This gives $100\\%$ of the original amount is $\\$\\var{sale_price}\\times \\dfrac{100}{\\var{remainder_percent}}$ (by multiplying both amounts by $\\dfrac{100}{\\var{remainder_percent}}$).

\n

Working this out (with or without a calculator) we find the original price is $\\$\\var{original_price}$.

\n

\n

Algebraic approach

\n

We know that $\\var{remainder_percent}\\%$ of the original amount is $\\$\\var{sale_price}$.

\n

We could think of this as the equation $\\var{remainder_decimal}\\times \\text{Original}=\\var{sale_price}$.

\n

Since division is the inverse of multiplication, we can divide both sides of this equation by $\\var{remainder_decimal}$ to get

\n

$\\text{Original}=\\dfrac{\\var{sale_price}}{\\var{remainder_decimal}}$.

\n

Working this out (with or without a calculator) we find the original price is $\\$\\var{original_price}$.

\n

\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": "{original_price}", "maxValue": "{original_price}", "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": "Percentage increase: Find the original price", "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/"}], "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"discount_percent": {"name": "discount_percent", "group": "Ungrouped variables", "definition": "random(4..60 except 0..60#10)", "description": "", "templateType": "anything", "can_override": false}, "remainder_percent": {"name": "remainder_percent", "group": "Ungrouped variables", "definition": "100+discount_percent", "description": "", "templateType": "anything", "can_override": false}, "original_price": {"name": "original_price", "group": "Ungrouped variables", "definition": "random(40..250)", "description": "", "templateType": "anything", "can_override": false}, "remainder_decimal": {"name": "remainder_decimal", "group": "Ungrouped variables", "definition": "remainder_percent*0.01", "description": "", "templateType": "anything", "can_override": false}, "sale_price": {"name": "sale_price", "group": "Ungrouped variables", "definition": "remainder_decimal*original_price", "description": "", "templateType": "anything", "can_override": false}, "price_difference": {"name": "price_difference", "group": "Ungrouped variables", "definition": "sale_price-original_price", "description": "", "templateType": "anything", "can_override": false}, "discount_decimal": {"name": "discount_decimal", "group": "Ungrouped variables", "definition": "discount_percent*0.01", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["discount_percent", "remainder_percent", "original_price", "remainder_decimal", "sale_price", "price_difference", "discount_decimal"], "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": "

An item has a new price of $\\$\\var{sale_price}$ after an $\\var{discount_percent}\\%$ price increase. 

\n

What was the item's original price? $\\$$ [[0]]

\n

", "stepsPenalty": "1", "steps": [{"type": "information", "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": "

Note, you can't just subtract $\\var{discount_percent}\\%$ of $\\$\\var{sale_price}$ off $\\$\\var{sale_price}$ since it was $\\var{discount_percent}\\%$ of the unknown original price that was added.

\n

\n

You should understand all three approaches below (and convince yourself that the final calculations in each method are all equivalent):

\n

\n

Unitary approach

\n

We know that $\\var{remainder_percent}\\%$ of the original amount is $\\$\\var{sale_price}$.

\n

This means that $1\\%$ of the original amount is $\\$\\dfrac{\\var{sale_price}}{\\var{remainder_percent}}$ (by dividing both amounts by $\\var{remainder_percent}$).

\n

And that $100\\%$ of the original amount is $\\$\\dfrac{\\var{sale_price}}{\\var{remainder_percent}}\\times 100$ (by multiplying both amounts by $100$).

\n

Working this out (with or without a calculator) we find the original price is $\\$\\var{original_price}$.

\n

\n

Scaling approach

\n

We know that $\\var{remainder_percent}\\%$ of the original amount is $\\$\\var{sale_price}$.

\n

To scale/shrink $\\var{remainder_percent}\\%$ into $100\\%$ we need to multiply it by $\\dfrac{100}{\\var{remainder_percent}}$.

\n

This gives $100\\%$ of the original amount is $\\$\\var{sale_price}\\times \\dfrac{100}{\\var{remainder_percent}}$ (by multiplying both amounts by $\\dfrac{100}{\\var{remainder_percent}}$).

\n

Working this out (with or without a calculator) we find the original price is $\\$\\var{original_price}$.

\n

\n

Algebraic approach

\n

We know that $\\var{remainder_percent}\\%$ of the original amount is $\\$\\var{sale_price}$.

\n

We could think of this as the equation $\\var{remainder_decimal}\\times \\text{Original}=\\var{sale_price}$.

\n

Since division is the inverse of multiplication, we can divide both sides of this equation by $\\var{remainder_decimal}$ to get

\n

$\\text{Original}=\\dfrac{\\var{sale_price}}{\\var{remainder_decimal}}$.

\n

Working this out (with or without a calculator) we find the original price is $\\$\\var{original_price}$.

\n

\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": "{original_price}", "maxValue": "{original_price}", "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": "Percentage increase and decrease", "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/"}], "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"first": {"name": "first", "group": "Ungrouped variables", "definition": "if(seed=0,'increased','decreased')", "description": "", "templateType": "anything", "can_override": false}, "percent": {"name": "percent", "group": "Ungrouped variables", "definition": "random(list(10..90#10))", "description": "", "templateType": "anything", "can_override": false}, "second": {"name": "second", "group": "Ungrouped variables", "definition": "if(seed=1,'increased','decreased')", "description": "", "templateType": "anything", "can_override": false}, "seed": {"name": "seed", "group": "Ungrouped variables", "definition": "random(0,1)", "description": "", "templateType": "anything", "can_override": false}, "factor_decimal": {"name": "factor_decimal", "group": "Ungrouped variables", "definition": "(100+percent)*(100-percent)/100^2", "description": "", "templateType": "anything", "can_override": false}, "decrease_percent": {"name": "decrease_percent", "group": "Ungrouped variables", "definition": "100-factor_percent", "description": "", "templateType": "anything", "can_override": false}, "factor_percent": {"name": "factor_percent", "group": "Ungrouped variables", "definition": "factor_decimal*100", "description": "", "templateType": "anything", "can_override": false}, "first_ing": {"name": "first_ing", "group": "Ungrouped variables", "definition": "if(seed=0,'increasing','decreasing')", "description": "", "templateType": "anything", "can_override": false}, "second_ing": {"name": "second_ing", "group": "Ungrouped variables", "definition": "if(seed=1,'increasing','decreasing')", "description": "", "templateType": "anything", "can_override": false}, "example_1": {"name": "example_1", "group": "Ungrouped variables", "definition": "if(seed=0,100+percent,100-percent)", "description": "", "templateType": "anything", "can_override": false}, "mult_1": {"name": "mult_1", "group": "Ungrouped variables", "definition": "if(seed=0,1+percent*0.01,1-percent*0.01)", "description": "", "templateType": "anything", "can_override": false}, "mult_2": {"name": "mult_2", "group": "Ungrouped variables", "definition": "if(seed=0,1-percent*0.01,1+percent*0.01)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["seed", "first", "second", "percent", "factor_decimal", "factor_percent", "decrease_percent", "first_ing", "second_ing", "example_1", "mult_1", "mult_2"], "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": "

A number is {first} by $\\var{percent}\\%$ and then {second} by $\\var{percent}\\%$, the result is a number that is  [[0]] the original number.

\n

In particular, the result is [[1]]$\\%$ of the original number.

\n

In other words, a  [[2]] of [[3]]$\\%$.

\n

\n

", "stepsPenalty": "2", "steps": [{"type": "information", "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": "

Your initial instinct might be that increasing and decreasing by the same percentage results in no net change to the original number. That's an easy mistake to make. Here are two ways we can work out the truth of the matter:

\n

Example approach

\n

Start with 100 as the original number (as it is easy to work with for percentages).

\n

Now {first_ing} by $\\var{percent}\\%$ leaves you with $\\var{example_1}$. 

\n

Then {second_ing} by $\\var{percent}\\%$ (of the current amount, $\\var{example_1}$), leaves you with $\\var{factor_percent}$.

\n

Therefore, the two changes led to $\\var{factor_percent}\\%$ of the original, a decrease of $\\var{decrease_percent}\\%$. 

\n

Multiplication approach

\n

Whatever the original number is, {first_ing} it by $\\var{percent}\\%$ means multiplying by $\\var{mult_1}$, and {second_ing} by $\\var{percent}\\%$ means multiplying by $\\var{mult_2}$.

\n

But multiplying by $\\var{mult_1}$ and then by $\\var{mult_2}$ is equivalent to multiplying by $\\var{mult_1}\\times\\var{mult_2}=\\var{factor_decimal}$.

\n

Therefore, the two changes led to $\\var{factor_percent}\\%$ of the original, a decrease of $\\var{decrease_percent}\\%$. 

\n

"}], "gaps": [{"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": false, "displayType": "dropdownlist", "displayColumns": 0, "showCellAnswerState": true, "choices": ["equal to", "greater than", "less than"], "matrix": [0, 0, "0.5"], "distractors": ["", "", ""]}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{factor_percent}", "maxValue": "{factor_percent}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"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": false, "displayType": "dropdownlist", "displayColumns": 0, "showCellAnswerState": true, "choices": ["an increase", "a decrease"], "matrix": [0, "0.5"], "distractors": ["", ""]}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{decrease_percent}", "maxValue": "{decrease_percent}", "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"}]}], "allowPrinting": true, "navigation": {"allowregen": true, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": false, "showresultspage": "oncompletion", "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": true, "startpassword": ""}, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "feedback": {"showactualmark": true, "showtotalmark": true, "showanswerstate": true, "allowrevealanswer": true, "advicethreshold": 0, "intro": "", "end_message": "", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": true, "feedbackmessages": []}, "diagnostic": {"knowledge_graph": {"topics": [], "learning_objectives": []}, "script": "diagnosys", "customScript": ""}, "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}], "extensions": [], "custom_part_types": [], "resources": []}