// 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:
\nInstead of determining $\\var{discount_percent}\\%$ of the original price and subtracting that from the original, we can simply find [[0]] $\\%$ of the original price.
\nSale price | \n$ = $ | \n[[0]] $\\%$ of $\\$$ [[1]] | \n
\n | $ = $ | \n[[2]] $\\times$ [[1]] | \n
\n | $ = $ | \n[[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.
\nTo 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}$.
\nTherefore 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:
\nInstead of determining $\\var{discount_percent}\\%$ of the original price and adding that to the original, we can simply find [[0]] $\\%$ of the original price.
\nNew price | \n$ = $ | \n[[0]] $\\%$ of $\\$$ [[1]] | \n
\n | $ = $ | \n[[2]] $\\times$ [[1]] | \n
\n | $ = $ | \n[[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.
\nTo 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}$.
\nTherefore 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}$.
\nThe 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\nYou should understand both approaches below (even though approach 2 might be more obvious):
\n\nApproach 1
\nWe 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}\\%$
\nand 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.\"
\nThis means that the discount percentage must have been $100\\%-\\var{remainder_percent}\\%=\\var{discount_percent}\\%$.
\n\nApproach 2
\nThe discount results is a saving of $\\$\\var{original_price}-\\$\\var{sale_price}=\\$\\var{price_difference}$.
\nOf 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}\\%$
\nand 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}$.
\nThe 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\nYou should understand both approaches below (even though approach 2 might be more obvious):
\n\nApproach 1
\nWe 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}\\%$
\nand 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.\"
\nThis means that the percentage increase must have been $\\var{remainder_percent}\\%-100\\%=\\var{discount_percent}\\%$.
\n\nApproach 2
\nThe increase was of $\\$\\var{sale_price}-\\$\\var{original_price}=\\$\\var{price_difference}$.
\nOf 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}\\%$
\nand 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.
\nWhat 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\nYou should understand all three approaches below (and convince yourself that the final calculations in each method are all equivalent):
\n\nUnitary approach
\nWe know that $\\var{remainder_percent}\\%$ of the original amount is $\\$\\var{sale_price}$.
\nThis means that $1\\%$ of the original amount is $\\$\\dfrac{\\var{sale_price}}{\\var{remainder_percent}}$ (by dividing both amounts by $\\var{remainder_percent}$).
\nAnd that $100\\%$ of the original amount is $\\$\\dfrac{\\var{sale_price}}{\\var{remainder_percent}}\\times 100$ (by multiplying both amounts by $100$).
\nWorking this out (with or without a calculator) we find the original price is $\\$\\var{original_price}$.
\n\nScaling approach
\nWe know that $\\var{remainder_percent}\\%$ of the original amount is $\\$\\var{sale_price}$.
\nTo scale/stretch $\\var{remainder_percent}\\%$ into $100\\%$ we need to multiply it by $\\dfrac{100}{\\var{remainder_percent}}$.
\nThis 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}}$).
\nWorking this out (with or without a calculator) we find the original price is $\\$\\var{original_price}$.
\n\nAlgebraic approach
\nWe know that $\\var{remainder_percent}\\%$ of the original amount is $\\$\\var{sale_price}$.
\nWe could think of this as the equation $\\var{remainder_decimal}\\times \\text{Original}=\\var{sale_price}$.
\nSince 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}}$.
\nWorking 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.
\nWhat 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\nYou should understand all three approaches below (and convince yourself that the final calculations in each method are all equivalent):
\n\nUnitary approach
\nWe know that $\\var{remainder_percent}\\%$ of the original amount is $\\$\\var{sale_price}$.
\nThis means that $1\\%$ of the original amount is $\\$\\dfrac{\\var{sale_price}}{\\var{remainder_percent}}$ (by dividing both amounts by $\\var{remainder_percent}$).
\nAnd that $100\\%$ of the original amount is $\\$\\dfrac{\\var{sale_price}}{\\var{remainder_percent}}\\times 100$ (by multiplying both amounts by $100$).
\nWorking this out (with or without a calculator) we find the original price is $\\$\\var{original_price}$.
\n\nScaling approach
\nWe know that $\\var{remainder_percent}\\%$ of the original amount is $\\$\\var{sale_price}$.
\nTo scale/shrink $\\var{remainder_percent}\\%$ into $100\\%$ we need to multiply it by $\\dfrac{100}{\\var{remainder_percent}}$.
\nThis 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}}$).
\nWorking this out (with or without a calculator) we find the original price is $\\$\\var{original_price}$.
\n\nAlgebraic approach
\nWe know that $\\var{remainder_percent}\\%$ of the original amount is $\\$\\var{sale_price}$.
\nWe could think of this as the equation $\\var{remainder_decimal}\\times \\text{Original}=\\var{sale_price}$.
\nSince 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}}$.
\nWorking 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.
\nIn particular, the result is [[1]]$\\%$ of the original number.
\nIn 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:
\nExample approach
\nStart with 100 as the original number (as it is easy to work with for percentages).
\nNow {first_ing} by $\\var{percent}\\%$ leaves you with $\\var{example_1}$.
\nThen {second_ing} by $\\var{percent}\\%$ (of the current amount, $\\var{example_1}$), leaves you with $\\var{factor_percent}$.
\nTherefore, the two changes led to $\\var{factor_percent}\\%$ of the original, a decrease of $\\var{decrease_percent}\\%$.
\nMultiplication approach
\nWhatever 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}$.
\nBut 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}$.
\nTherefore, 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": []}