// Numbas version: finer_feedback_settings {"name": "Percentages: decrease - evaporation", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Percentages: decrease - evaporation", "tags": [], "metadata": {"description": "

Given x and y, calculate (x-y) as a percentage of y.  Chemistry context.

", "licence": "None specified"}, "statement": "", "advice": "

METHOD 1:

\n

When calculating a percentage decrease we need to know:

\n

- the original amount ({og}g)
- the actual decrease ({og} - {new} = {og-new}g)

\n

Now find the decrease as a percentage of the original, using the formula

\n

\\[ \\text{Percentage in decimal form} = \\frac{\\text{Decrease}}{\\text{Original volume}} \\]

\n

So, to work out $\\var{og-new}$ as a percentage of $\\var{og}$,

\n

\\[ \\begin{split} \\text{Percentage in decimal form} &\\,= \\frac{\\var{og-new}}{\\var{og}} \\\\ &\\,= \\var{(100-p)/100} \\end{split} \\]

\n

To express our in answer as a percentage rather than in decimal form, we need to multiply this answer by $100$.

\n

Therefore the percentage loss is $\\var{(100-p)} \\% $

\n

\n

METHOD 2:

\n

We could calculate the percentage remaining, and then subtract this from 100%

\n

i.e. 

\n

\\[ \\text{Percentage in decimal form} = \\frac{\\text{New volume}}{\\text{Original volume}} \\]

\n

\\[ \\begin{split} \\text{Percentage in decimal form} &\\,= \\frac{\\var{new}}{\\var{og}} \\\\ &\\,= \\var{(p)/100} \\end{split} \\]

\n

the remaining percentage is $\\var{(p)} \\% $, meaning the decrease (or loss) is $100 - \\var{p} = \\var{(100-p)} \\% $

\n

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"p": {"name": "p", "group": "Ungrouped variables", "definition": "random(60..99)", "description": "", "templateType": "anything", "can_override": false}, "og": {"name": "og", "group": "Ungrouped variables", "definition": "random(101..999)", "description": "", "templateType": "anything", "can_override": false}, "new": {"name": "new", "group": "Ungrouped variables", "definition": "og*p*0.01", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "new{og}ml of liquid is measured in a beaker.

\n

After 12 hours, {new}ml is measured.

\n

What is the percentage decrease in the liquid due to evaporation?

\n

[[0]]%

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "100-p", "maxValue": "100-p", "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", "type": "question", "contributors": [{"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}]}], "contributors": [{"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}