// Numbas version: exam_results_page_options {"name": "Rates", "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": "Basic rates/ratios for nursing (unit rate to equivalent rate)", "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": ["conversion", "converting", "ephlth", "rates", "unit", "unitary"], "metadata": {"description": "

Calculating rates and scaling rates. Drops per mL and drops per minute questions unit rate to equivalent rate.

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

Write the following question down on paper and evaluate it without using a calculator.

\n

If you are unsure of how to do a question, click on Show steps to see the full working. Then, once you understand how to do the question, click on Try another question like this one to start again.

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"ans1": {"name": "ans1", "group": "Ungrouped variables", "definition": "dpml*volume", "description": "", "templateType": "anything", "can_override": false}, "duration": {"name": "duration", "group": "Ungrouped variables", "definition": "random(5..60#5)", "description": "", "templateType": "anything", "can_override": false}, "ans2": {"name": "ans2", "group": "Ungrouped variables", "definition": "duration*dpm", "description": "", "templateType": "anything", "can_override": false}, "volume": {"name": "volume", "group": "Ungrouped variables", "definition": "random(5..1000#5)", "description": "", "templateType": "anything", "can_override": false}, "dpml": {"name": "dpml", "group": "Ungrouped variables", "definition": "random(10,15,20,60)", "description": "", "templateType": "anything", "can_override": false}, "dpm": {"name": "dpm", "group": "Ungrouped variables", "definition": "random(5..220#5)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["volume", "dpml", "ans1", "duration", "dpm", "ans2"], "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 certain IV drip delivers $\\var{dpml}$ drops per mL. This is equivalent to [[0]] drops per $\\var{volume}$ mL.

", "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": "

We can approach these questions like equivalent fractions by replacing the word 'per' with the operation of division.

\n

\n

The following are all equivalent ways of writing the same rate:

\n

$\\var{dpml}$ drops per mL = $\\var{dpml}$ drops/mL = $\\var{dpml}$ drops / $1$ mL = $\\dfrac{\\var{dpml} \\text{ drops}}{1 \\text{ mL}}$.

\n

We can multiply the top and bottom by any number other than zero and keep the rate the same. Since we are asked about $\\var{volume}$ mL, we multiply the top and bottom by $\\var{volume}$ so the bottom of the fraction is $\\var{volume}$.

\n

$\\dfrac{\\var{dpml} \\text{ drops}}{1 \\text{ mL}}\\times\\dfrac{\\var{volume}}{\\var{volume}}=\\dfrac{\\var{ans1} \\text{ drops}}{\\var{volume}\\text{ mL}}$

\n

In other words, the rate is equivalent to $\\var{ans1}$ drops per $\\var{volume}$ mL.

\n
\n

We can also approach these questions like ratios.

\n

\n

Think of $\\var{dpml}$ drops per mL as the ratio $\\var{dpml}$ drops : $1$ mL.

\n

We can multiply both sides of this ratio by any non-zero number to get an equivalent ratio. Since we want to know about $\\var{volume}$ mL, we multiply both sides by $\\var{volume}$.

\n

\n

$\\var{dpml} \\text{ drops} \\,:\\, 1 \\text{ mL} = \\var{dpml}\\times \\var{volume}\\text{ drops}\\, :\\, 1 \\times \\var{volume} \\text{ mL} = \\var{ans1} \\text{ drops}\\,:\\, \\var{volume}\\text{ mL}$.

\n

In other words, there are $\\var{ans1}$ drops in $\\var{volume}$ mL.

\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": "{ans1}", "maxValue": "{ans1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"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 patient requires $\\var{dpm}$ drops per minute from an IV. How many drops will they need over $\\var{duration}$ minutes?

\n

\n

[[0]] drops.

", "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": "

We can approach these questions like equivalent fractions by replacing the word 'per' with the operation of division.

\n

\n

The following are all equivalent ways of writing the same rate:

\n

$\\var{dpm}$ drops per minute = $\\var{dpm}$ drops/min = $\\var{dpm}$ drops / $1$ min = $\\dfrac{\\var{dpm} \\text{ drops}}{1 \\text{ min}}$.

\n

We can multiply the top and bottom by any number other than zero and keep the rate the same. Since we are asked about $\\var{duration}$ minutes, we multiply the top and bottom by $\\var{duration}$ so the bottom of the fraction is $\\var{duration}$.

\n

$\\dfrac{\\var{dpm} \\text{ drops}}{1 \\text{ min}}\\times\\dfrac{\\var{duration}}{\\var{duration}}=\\dfrac{\\var{ans2} \\text{ drops}}{\\var{duration}\\text{ min}}$

\n

In other words the rate is equivalent to $\\var{ans2}$ drops per $\\var{duration}$ minutes.

\n
\n

We can also approach these questions like ratios.

\n

\n

Think of $\\var{dpm}$ drops per minute as the ratio $\\var{dpm}$ drops : $1$ minute.

\n

We can multiply both sides of this ratio by any non-zero number to get an equivalent ratio. Since we want to know about $\\var{duration}$ minutes, we multiply both sides by $\\var{duration}$.

\n

 

\n

$\\var{dpm} \\text{ drops} \\,:\\, 1 \\text{ min} = \\var{dpm}\\times \\var{duration}\\text{ drops}\\, :\\, 1 \\times \\var{duration} \\text{ min} = \\var{ans2} \\text{ drops}\\,:\\, \\var{duration}\\text{ min}$.

\n

In other words there are $\\var{ans2}$ drops in $\\var{duration}$ minutes.

\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": "{ans2}", "maxValue": "{ans2}", "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": "Basic rates/ratios for nursing (equivalent rate to unit rate)", "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/"}], "ungrouped_variables": ["ans3", "minutes", "drops", "ans4", "capacity", "numdrops"], "advice": "", "rulesets": {}, "variables": {"minutes": {"templateType": "anything", "definition": "random(20..120)", "description": "", "name": "minutes", "group": "Ungrouped variables"}, "drops": {"templateType": "anything", "definition": "minutes*ans3", "description": "", "name": "drops", "group": "Ungrouped variables"}, "ans3": {"templateType": "anything", "definition": "random(5..220#5)", "description": "", "name": "ans3", "group": "Ungrouped variables"}, "capacity": {"templateType": "anything", "definition": "random(5..1000#5)", "description": "", "name": "capacity", "group": "Ungrouped variables"}, "numdrops": {"templateType": "anything", "definition": "ans4*capacity", "description": "", "name": "numdrops", "group": "Ungrouped variables"}, "ans4": {"templateType": "anything", "definition": "random(10,15,20,60)", "description": "", "name": "ans4", "group": "Ungrouped variables"}}, "variable_groups": [], "preamble": {"js": "", "css": ""}, "functions": {}, "statement": "

Write the following question down on paper and evaluate it without using a calculator.

\n

If you are unsure of how to do a question, click on Show steps to see the full working. Then, once you understand how to do the question, click on Try another question like this one to start again.

", "variablesTest": {"condition": "", "maxRuns": 100}, "parts": [{"variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "sortAnswers": false, "prompt": "

If a patient received $\\var{drops}$ drops over $\\var{minutes}$ minutes, then the patient received [[0]] drops per minute.

", "type": "gapfill", "variableReplacements": [], "steps": [{"variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "showCorrectAnswer": true, "scripts": {}, "customMarkingAlgorithm": "", "prompt": "

We can approach these questions like equivalent fractions by replacing the word 'per' with the operation of division.

\n

 

\n

The following are all equivalent ways of writing the same rate:

\n

$\\var{drops}$ drops per $\\var{minutes}$ minutes $= \\var{drops}$ drops/ $\\var{minutes}$ min $= \\dfrac{\\var{drops} \\text{ drops}}{\\var{minutes} \\text{ min}}=\\dfrac{\\var{drops}}{\\var{minutes}} \\text{ drops/min}$.

\n

 So we just need to do the division to determine the rate per minute.

\n

$\\dfrac{\\var{drops}}{\\var{minutes}} \\text{ drops/min}=\\var{ans3} \\text{ drops/min}$

\n

In other words the rate is equivalent to $\\var{ans3}$ drops per minute.

\n

\n
\n

We can also approach these questions like ratios.

\n

 

\n

Think of $\\var{drops}$ drops per $\\var{minutes}$ minutes as the ratio $\\var{drops}$ drops : $\\var{minutes}$ min.

\n

We can multiply or divide both sides of this ratio by any non-zero number to get an equivalent ratio. Since we want to know about drops per minute, we divide both sides by $\\var{minutes}$.

\n

 

\n

$\\var{drops} \\text{ drops} \\,:\\, \\var{minutes} \\text{ min} = \\var{drops}\\div \\var{minutes}\\text{ drops}\\, :\\, \\var{minutes} \\div \\var{minutes} \\text{ min} = \\var{ans3} \\text{ drops}\\,:\\, 1\\text{ min}$.

\n

In other words there are $\\var{ans3}$ drops per minute.

\n

 

\n

 

", "type": "information", "unitTests": [], "marks": 0, "extendBaseMarkingAlgorithm": true, "variableReplacements": []}], "stepsPenalty": "1", "showCorrectAnswer": true, "scripts": {}, "customMarkingAlgorithm": "", "gaps": [{"variableReplacementStrategy": "originalfirst", "maxValue": "{ans3}", "showFeedbackIcon": true, "correctAnswerStyle": "plain", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "type": "numberentry", "mustBeReduced": false, "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "correctAnswerFraction": false, "customMarkingAlgorithm": "", "minValue": "{ans3}", "unitTests": [], "marks": 1, "extendBaseMarkingAlgorithm": true, "mustBeReducedPC": 0}], "unitTests": [], "marks": 0, "extendBaseMarkingAlgorithm": true}, {"variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "sortAnswers": false, "prompt": "

If an IV drip delivers $\\var{capacity}$ mL through $\\var{numdrops}$ drops, then there must be [[0]] drops in each mL.

", "type": "gapfill", "variableReplacements": [], "steps": [{"variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "showCorrectAnswer": true, "scripts": {}, "customMarkingAlgorithm": "", "prompt": "

We can approach these questions like equivalent fractions by replacing the word 'per' with the operation of division.

\n

 

\n

The following are all equivalent ways of writing the same rate:

\n

$\\var{numdrops}$ drops per $\\var{capacity}$ mL $= \\var{numdrops}$ drops/$\\var{capacity}$ mL $= \\dfrac{\\var{numdrops} \\text{ drops}}{\\var{capacity} \\text{ mL}}=\\dfrac{\\var{numdrops}}{\\var{capacity}} \\text{ drops/mL}$.

\n

 So we just need to do the division to determine the number of drops per mL.

\n

$\\dfrac{\\var{numdrops}}{\\var{capacity}} \\text{ drops/mL}=\\var{ans4} \\text{ drops/mL}$

\n

In other words the rate is equivalent to $\\var{ans4}$ drops per mL.

\n

 

\n
\n

We can also approach these questions like ratios.

\n

 

\n

Think of $\\var{numdrops}$ drops per $\\var{capacity}$ mL as the ratio $\\var{numdrops}$ drops : $\\var{capacity}$ mL.

\n

We can multiply or divide both sides of this ratio by any non-zero number to get an equivalent ratio. Since we want to know about drops per mL, we divide both sides by $\\var{capacity}$.

\n

 

\n

$\\var{numdrops} \\text{ drops} \\,:\\, \\var{capacity} \\text{ mL} = \\var{numdrops}\\div \\var{capacity}\\text{ drops}\\, :\\, \\var{capacity} \\div \\var{capacity} \\text{ mL} = \\var{ans4} \\text{ drops}\\,:\\, 1\\text{ mL}$.

\n

In other words there are $\\var{ans4}$ drops per mL.

\n

 

\n

 

\n

 

", "type": "information", "unitTests": [], "marks": 0, "extendBaseMarkingAlgorithm": true, "variableReplacements": []}], "stepsPenalty": "1", "showCorrectAnswer": true, "scripts": {}, "customMarkingAlgorithm": "", "gaps": [{"variableReplacementStrategy": "originalfirst", "maxValue": "{ans4}", "showFeedbackIcon": true, "correctAnswerStyle": "plain", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "type": "numberentry", "mustBeReduced": false, "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "correctAnswerFraction": false, "customMarkingAlgorithm": "", "minValue": "{ans4}", "unitTests": [], "marks": 1, "extendBaseMarkingAlgorithm": true, "mustBeReducedPC": 0}], "unitTests": [], "marks": 0, "extendBaseMarkingAlgorithm": true}], "tags": [], "metadata": {"description": "

Calculating rates and scaling rates. Drops per mL and drops per minute questions equivalent rate to unit rate.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question"}, {"name": "Rates", "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": ["conversion", "converting", "rates", "unit", "unitary"], "metadata": {"description": "

Unit rates

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"distance": {"name": "distance", "group": "fuel", "definition": "if(vehicle='car',random(400..650),if(vehicle='motorbike',random(210..375),'error'))", "description": "", "templateType": "anything", "can_override": false}, "number": {"name": "number", "group": "Ungrouped variables", "definition": "random(2..100)", "description": "", "templateType": "anything", "can_override": false}, "thing": {"name": "thing", "group": "Ungrouped variables", "definition": "random([['eats','eating','watermelons'],['eats','eating','pies'],['eats','eating','apples'],['eats','eating','grapes'],['eats','eating','sultanas'],['eats','eating','pickles'],['eats','eating','berries'],['serves', 'serving','tennis balls'],['bowls', 'bowling','cricket balls'],['mows', 'mowing','lawns'],['runs', 'running','kilometres'],['rides', 'riding','kilometres'],['writes', 'writing','lines of code'],['reads', 'reading','pages'],['reads', 'reading','books'],['buys','buying','unnecessary things off the internet'],['buys','buying','collectables'],['buys','buying','Star Wars figurines'],['buys','buying','movies'],['throws out','throwing out','pieces of scribble paper'],['plays','playing','games of football'],['plays','playing','games of Quidditch']])", "description": "

plural, singular, object

", "templateType": "anything", "can_override": false}, "amount": {"name": "amount", "group": "fuel", "definition": "if(vehicle='car',random(35..60),if(vehicle='motorbike',random(11..20),'error'))", "description": "", "templateType": "anything", "can_override": false}, "person": {"name": "person", "group": "Ungrouped variables", "definition": "Random(['Aaron', 'Alex', 'Ben', 'Claire', 'Charlotte', 'Daniel', 'Deb', 'Ethan', 'Elizabeth', 'Grace', 'Hunter', 'Julia', 'Isaac', 'Xavier', 'Victoria', 'Sophie', 'Abbey', 'Annie', 'Noah'])", "description": "", "templateType": "anything", "can_override": false}, "niceamount": {"name": "niceamount", "group": "fuel", "definition": "random(list(10..50#5) except amount)", "description": "", "templateType": "anything", "can_override": false}, "nicedistance": {"name": "nicedistance", "group": "fuel", "definition": "random(list(50..200#10))", "description": "", "templateType": "anything", "can_override": false}, "vehicle": {"name": "vehicle", "group": "fuel", "definition": "random(['car','motorbike'])", "description": "", "templateType": "anything", "can_override": false}, "integer": {"name": "integer", "group": "Ungrouped variables", "definition": "random(2..12 except number)", "description": "", "templateType": "anything", "can_override": false}, "unit": {"name": "unit", "group": "Ungrouped variables", "definition": "random(['hour', 'minute', 'day', 'month'])", "description": "", "templateType": "anything", "can_override": false}, "cf_a": {"name": "cf_a", "group": "Ungrouped variables", "definition": "gcd(number,integer)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["person", "number", "integer", "unit", "thing", "cf_a"], "variable_groups": [{"name": "fuel", "variables": ["vehicle", "distance", "amount", "nicedistance", "niceamount"]}], "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": "

{person} {thing[0]} {number} {thing[2]} per {integer} {unit}s. This is equivalent to {thing[1]} [[0]] {thing[2]} per {unit}.

\n

Note: If the answer has many decimal places leave your answer as a fraction (using / as the fraction bar) so that your answer is exact (and not an approximation/rounded-answer)

", "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": "

The word 'per' can be replaced with the operation of division.

\n

These questions are very similar to equivalent fractions.

\n
\n

\n

The following methods are equivalent but might appear different.

\n
    \n
  1. We are given $\\var{number}$ {thing[2]} / $\\var{integer}$ {unit}s. Divide both sides of the rate by $\\var{integer}$ (so that we are dealing with 'per {unit}' not 'per $\\var{integer}$ {unit}s'). This gives $\\var{number}/\\var{integer}$ {thing[2]}/{unit}, or in reduced form (by removing the common factor of $\\var{cf_a}$), $\\var[fractionNumbers]{number/integer}$ {thing[2]}/{unit}.
  2. \n

  3. \\[\\var{number}\\,\\var{thing[2]}/\\var{integer}\\,\\var{unit}\\text{s}=\\frac{\\var{number}\\,\\var{thing[2]}}{\\var{integer}\\,\\var{unit}\\text{s}}=\\frac{\\var{number}}{\\var{integer}}\\frac{\\var{thing[2]}}{\\var{unit}\\text{s}}=\\var[fractionNumbers]{number/integer} \\,\\var{thing[2]}/\\var{unit}.\\]
  4. \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": "{number}/{integer}", "maxValue": "{number}/{integer}", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"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 {vehicle} travels {distance} km per {amount} L of petrol.  

\n

\n

How many kilometres can be travelled by using {niceamount} L? [[0]] km

\n

How many litres of petrol are needed to travel {nicedistance} km? [[1]] L

\n

\n

Note: If the answer has many decimal places leave your answer as a fraction (using / as the fraction bar) so that your answer is exact (and not an approximation/rounded-answer)

", "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": "

Just like a fraction, we can multiply or divide both sides of the rate by any number (except 0).

\n

\n
\n

\n

\"A {vehicle} travels $\\var{distance}$ km per $\\var{amount}$ L of petrol\". Note, this can be written as $\\var{distance}$ km / $\\var{amount}$ L.

\n

To determine kilometres per $\\var{niceamount}$  L, first determine how many kilometres per $1$ L:

\n

$\\var{distance} \\text{ km} / \\var{amount}\\text{ L}  = \\frac{\\var{distance}}{\\var{amount}} \\text{ km/L}$ $= \\var[fractionNumbers]{distance/amount} \\text{ km/L}$

\n

and then multiply both sides of the rate by $\\var{niceamount}$ to get per $\\var{niceamount}$  L:

\n

$\\var{niceamount}\\times\\var[fractionNumbers]{distance/amount} \\text{ km}/\\var{niceamount} \\text{ L}=\\var[fractionNumbers]{niceamount*distance/amount} \\text{ km}/\\var{niceamount} \\text{ L}$.

\n

To determine litres per $\\var{nicedistance}$ km, first determine how many litres per $1$ km:

\n

$\\var{amount}\\text{ L} / \\var{distance} \\text{ km} = \\frac{\\var{amount}}{\\var{distance}} \\text{ L/km}$ $= \\var[fractionNumbers]{amount/distance} \\text{ L/km}$

\n

(that fraction should look familiar) and then multiply both sides of the rate by $\\var{nicedistance}$ to get per $\\var{nicedistance}$ km:

\n

$\\var{nicedistance}\\times\\var[fractionNumbers]{amount/distance} \\text{ L}/ \\var{nicedistance}\\text{ km}=\\var[fractionNumbers]{nicedistance*amount/distance} \\text{ L}/\\var{nicedistance} \\text{ km}$.

\n

"}], "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{distance}/{amount}*{niceamount}", "answerSimplification": "all", "showPreview": false, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{amount}*{nicedistance}/{distance}", "answerSimplification": "all", "showPreview": false, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "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": []}