// Numbas version: finer_feedback_settings {"name": "Percentage question 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Percentage question 2", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

We often need to work out a particular % of a weight, volume or number of, for example, tablets, days etc. If you understand the basic concept and simple alegebra this should not be too tricky.

\n

Answer the following three question parts. Please enter your answers as a decimal, not a fraction. Give your answer to two decimal places (only round your final answer, use the exact values on your calculator when working out any intermediate steps).

\n

If you would like to see how to do this question, click on 'Reveal answers' at the bottom of the page.

", "advice": "

Remember percentage (%) means part per 100 so can be considerd as a fraction out of a hundred. You could imagine 70% as the fraction 70/100 (also written $ \\frac{70}{100} $ ) or as the decimal 0.7 out of 1.

\n

For the fraction $ \\frac{70}{100} $. In maths we call the top part of the fraction (70) the numerator. We call the bottom part (100) the denominator. When working out division sums you need to be sure you use the correct numbers for the numerator and denominator otherwise your answer will be wrong.

\n

Rounding. You need to make sure you know how to round answers to two decimal places. Look at your answer and locate the second and third digits after the decimal place.

\n\n

Part a

\n

You can use simple algebra to work this out. We can call the answer $y$ and as we know that a % is really a fraction of 100 we can write the following equation

\n

$ \\frac{\\var{percentage}}{\\var{number}} = \\frac{y}{100} $

\n

If we multiply both sides of the equation by a hundred (equivalent to moving 100 from a division on the right of the equation to a multiplication on the left) we have the equation

\n

$ 100 \\times \\frac{\\var{percentage}}{\\var{number}} = y $

\n

Don't forget to round your answer to two decimal places

\n

Part b

\n

We can call the answer $z$ and as we know that a % is really a fraction of 100 we can write the following equation

\n

$ \\frac{\\var{answer}}{z} = \\frac{\\var{percentage}}{100} $

\n

We can rearrange this equation by multiplying both sides of the equation by 100 to get

\n

$ 100 \\times \\frac{\\var{answer}}{z}  = \\var{percentage} $

\n

We then multiply both sides by z to get 

\n

$ 100 \\times \\var{answer} = \\var{percentage} \\times z $

\n

To get z we just divide both sides by {percentage}

\n

$ 100 \\times \\frac{\\var{answer}}{\\var{percentage}} = z $

\n

Part c

\n

Imagine the number is $w$. If we increase this by $ \\var{percentage}%$ we get $w \\times (100 + {\\var{percentage}})$ 

\n

We can convert this to a percentage with $w \\times (100 + {\\var{percentage}})$ as numerator and 100 as denominator.

\n

We know this is percentage is $ \\var{number}$ so we can write the equation

\n

$\\frac{w \\times (100 + {\\var{percentage}})}{100} = \\var{number}$

\n

We can rearrange the eqution so 

\n

$w= 100 \\times \\frac{\\var{number}}{(100 + {\\var{percentage}})}$

\n

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"percentage": {"name": "percentage", "group": "Ungrouped variables", "definition": "random(8 .. 50#1)", "description": "

This is the perecentage

", "templateType": "randrange", "can_override": false}, "number": {"name": "number", "group": "Ungrouped variables", "definition": "random(52 .. 100#1)", "description": "", "templateType": "randrange", "can_override": false}, "answer": {"name": "answer", "group": "Ungrouped variables", "definition": "random(1 .. 25#1)", "description": "", "templateType": "randrange", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["percentage", "number", "answer"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is {percentage}% of {number}?

", "minValue": "{percentage}*{number}/100", "maxValue": "{percentage}*{number}/100", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct number of decimal places.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

The number {answer} is {percentage}% of what number?

", "minValue": "100*{answer}/{percentage}", "maxValue": "100*{answer}/{percentage}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

A number is increased by {percentage}% to make the number {number}. What is that number?

", "minValue": "{number}*100/(100+{percentage})", "maxValue": "{number}*100/(100+{percentage})", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct number of decimal places.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Bob Morris", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4834/"}]}]}], "contributors": [{"name": "Bob Morris", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4834/"}]}