// Numbas version: exam_results_page_options {"name": "Amount of substance needed to prepare a solution", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Amount of substance needed to prepare a solution", "statement": "

How would you prepare the following solutions?

\n

Note that you can click on Show steps for each of the following questions. There you can follow a sequence of steps to get the answer.

\n

However, you should be able (perhaps after practice) to answer these questions without using Show steps.

", "variablesTest": {"condition": "", "maxRuns": 100}, "variables": {"z9": {"definition": "precround(z5*z6*180.2/1000, 3)", "name": "z9", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "z7": {"definition": "precround(z1*z2/1000, 3)", "name": "z7", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "z4": {"definition": "random(0.1..3#0.1)", "name": "z4", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "z3": {"definition": "random(5..100#5)", "name": "z3", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "z5": {"definition": "random(0.1..0.9#0.1)", "name": "z5", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "z8": {"definition": "precround(z3*z4*74.5/1000, 3)", "name": "z8", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "z2": {"definition": "random(3..9#1)", "name": "z2", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "z6": {"definition": "random(5..100#5)", "name": "z6", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "z1": {"definition": "random(100..500#5)", "name": "z1", "description": "", "templateType": "anything", "group": "Ungrouped variables"}}, "extensions": [], "tags": [], "variable_groups": [], "parts": [{"extendBaseMarkingAlgorithm": true, "scripts": {}, "stepsPenalty": 0, "type": "gapfill", "variableReplacementStrategy": "originalfirst", "useCustomName": false, "adaptiveMarkingPenalty": 0, "gaps": [{"extendBaseMarkingAlgorithm": true, "scripts": {}, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "allowFractions": false, "mustBeReduced": false, "minValue": "{z7 - 0.001}", "variableReplacements": [], "marks": 1, "mustBeReducedPC": 0, "showCorrectAnswer": true, "unitTests": [], "correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "showFractionHint": true, "customMarkingAlgorithm": "", "maxValue": "{z7 + 0.001}", "correctAnswerStyle": "plain", "useCustomName": false, "customName": ""}], "showFeedbackIcon": true, "prompt": "

$\\var{z1}~\\mathrm{ml}$ of a sucrose solution at a concentration $\\var{z2}~\\mathrm{g}/\\mathrm{l}$.

\n

Grams of sucrose needed = [[0]] $\\mathrm{g}$ in $\\var{z1}~\\mathrm{ml}$ (to $3$ decimal places).

", "steps": [{"extendBaseMarkingAlgorithm": true, "scripts": {}, "type": "information", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "prompt": "

In this question you are given the required volume of the solution, $\\var{z1}~\\mathrm{ml}$, and the required concentration, $\\var{z2}~\\mathrm{g}/\\mathrm{l}$. You need to calculate how many grams are required per $\\var{z1}~\\mathrm{ml}$ to achieve this concentration. 

", "useCustomName": false, "variableReplacements": [], "marks": 0, "customName": "", "adaptiveMarkingPenalty": 0, "showCorrectAnswer": true, "unitTests": []}, {"extendBaseMarkingAlgorithm": true, "scripts": {}, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "prompt": "

The first step is to express the required concentration in $\\mathrm{ml}$ by dividing by $1000$.

", "allowFractions": false, "mustBeReduced": false, "minValue": "z2/1000-0.001", "variableReplacements": [], "marks": "0", "mustBeReducedPC": 0, "showCorrectAnswer": true, "unitTests": [], "correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "showFractionHint": true, "customMarkingAlgorithm": "", "maxValue": "z2/1000+0.001", "correctAnswerStyle": "plain", "useCustomName": false, "customName": ""}, {"extendBaseMarkingAlgorithm": true, "scripts": {}, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "prompt": "

Now multiply this by $\\var{z1}$ to obtain the amount of sucrose needed in the given volume of solution.

", "allowFractions": false, "mustBeReduced": false, "minValue": "z1*z2/1000-0.001", "variableReplacements": [], "marks": "0", "mustBeReducedPC": 0, "showCorrectAnswer": true, "unitTests": [], "correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "showFractionHint": true, "customMarkingAlgorithm": "", "maxValue": "z1*z2/1000+0.001", "correctAnswerStyle": "plain", "useCustomName": false, "customName": ""}], "sortAnswers": false, "variableReplacements": [], "marks": 0, "customName": "", "customMarkingAlgorithm": "", "showCorrectAnswer": true, "unitTests": []}, {"extendBaseMarkingAlgorithm": true, "scripts": {}, "stepsPenalty": 0, "type": "gapfill", "variableReplacementStrategy": "originalfirst", "useCustomName": false, "adaptiveMarkingPenalty": 0, "gaps": [{"extendBaseMarkingAlgorithm": true, "precisionMessage": "

You have not given your answer to the correct precision.

", "precisionPartialCredit": 0, "scripts": {}, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "allowFractions": false, "mustBeReduced": false, "minValue": "{z8 - 0.001}", "variableReplacements": [], "marks": 1, "strictPrecision": true, "showCorrectAnswer": true, "unitTests": [], "correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "precision": "3", "customMarkingAlgorithm": "", "maxValue": "{z8 + 0.001}", "precisionType": "dp", "correctAnswerStyle": "plain", "useCustomName": false, "showPrecisionHint": false, "customName": ""}], "showFeedbackIcon": true, "prompt": "

$\\var{z3}~\\mathrm{ml}$ of a $\\var{z4}~\\mathrm{molar}$ (can be expressed as $\\mathrm{mol}/\\mathrm{l}$ or $\\mathrm{mol~l}^{-1}$, but usually expressed as $\\mathrm{M}$) solution of KCl (relative molecular mass $74.5$) in water.

\n

Grams of KCl needed = [[0]] $\\mathrm{g}$ in $\\var{z3}~\\mathrm{ml}$ (answer to $3$ decimal places).

", "steps": [{"extendBaseMarkingAlgorithm": true, "scripts": {}, "type": "information", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "prompt": "

The first step is to express $1~\\mathrm{mol}$ of KCl in grams.

\n

$1~\\mathrm{mol}$ solution = $74.5~\\mathrm{g}$ KCl in $1~\\mathrm{L}$

", "useCustomName": false, "variableReplacements": [], "marks": 0, "customName": "", "adaptiveMarkingPenalty": 0, "showCorrectAnswer": true, "unitTests": []}, {"extendBaseMarkingAlgorithm": true, "scripts": {}, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "prompt": "

Next, express $\\var{z4}~\\mathrm{mol}$ as grams of KCl by multiplying $74.5~\\mathrm{g}$ by $\\var{z4}$.

", "allowFractions": false, "mustBeReduced": false, "minValue": "74.5*z4", "variableReplacements": [], "marks": "0", "mustBeReducedPC": 0, "showCorrectAnswer": true, "unitTests": [], "correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "showFractionHint": true, "customMarkingAlgorithm": "", "maxValue": "74.5*z4", "correctAnswerStyle": "plain", "useCustomName": false, "customName": ""}, {"extendBaseMarkingAlgorithm": true, "scripts": {}, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "prompt": "

Since $1~\\mathrm{L} = 1000~\\mathrm{ml}$ we can find the number of grams in $1\\mathrm{ml}$ by dividing by $1000$.

", "allowFractions": false, "mustBeReduced": false, "minValue": "74.5*z4/1000", "variableReplacements": [], "marks": "0", "mustBeReducedPC": 0, "showCorrectAnswer": true, "unitTests": [], "correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "showFractionHint": true, "customMarkingAlgorithm": "", "maxValue": "74.5*z4/1000", "correctAnswerStyle": "plain", "useCustomName": false, "customName": ""}, {"extendBaseMarkingAlgorithm": true, "scripts": {}, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "prompt": "

Finally, to get the number of grams needed to give $\\var{z3}~\\mathrm{ml}$ of $\\var{z4}~\\mathrm{M}$ KCl solution you multiply this result by $\\var{z3}$. Give your answer here to 3 decimal places.

", "allowFractions": false, "mustBeReduced": false, "minValue": "74.5*z3*z4/1000-0.001", "variableReplacements": [], "marks": "0", "mustBeReducedPC": 0, "showCorrectAnswer": true, "unitTests": [], "correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "showFractionHint": true, "customMarkingAlgorithm": "", "maxValue": "74.5*z3*z4/1000+0.001", "correctAnswerStyle": "plain", "useCustomName": false, "customName": ""}], "sortAnswers": false, "variableReplacements": [], "marks": 0, "customName": "", "customMarkingAlgorithm": "", "showCorrectAnswer": true, "unitTests": []}, {"extendBaseMarkingAlgorithm": true, "scripts": {}, "stepsPenalty": 0, "type": "gapfill", "variableReplacementStrategy": "originalfirst", "useCustomName": false, "adaptiveMarkingPenalty": 0, "gaps": [{"extendBaseMarkingAlgorithm": true, "scripts": {}, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "allowFractions": false, "mustBeReduced": false, "minValue": "{z9 - 0.001}", "variableReplacements": [], "marks": 1, "mustBeReducedPC": 0, "showCorrectAnswer": true, "unitTests": [], "correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "showFractionHint": true, "customMarkingAlgorithm": "", "maxValue": "{z9 + 0.001}", "correctAnswerStyle": "plain", "useCustomName": false, "customName": ""}], "showFeedbackIcon": true, "prompt": "

$\\var{z5}~\\mathrm{L}$ of $\\var{z6}~\\mathrm{millimolar}$ ($\\mathrm{mmol}/\\mathrm{l}$, or $\\mathrm{mmol}^{-1}$ or $\\mathrm{mM}$) glucose (relative molecular mass $180.2$) in water.

\n

Grams of glucose needed = [[0]] $\\mathrm{g}$ in $\\var{z5}~\\mathrm{L}$ (answer to $3$ decimal places).

", "steps": [{"extendBaseMarkingAlgorithm": true, "scripts": {}, "type": "information", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "prompt": "

The first step is to express $1~\\mathrm{mol}$ of glucose in grams in $1~\\mathrm{L}$.

\n

$1~\\mathrm{mol}$ solution = $180.2~\\mathrm{g}$ glucose in $1~\\mathrm{L}$

", "useCustomName": false, "variableReplacements": [], "marks": 0, "customName": "", "adaptiveMarkingPenalty": 0, "showCorrectAnswer": true, "unitTests": []}, {"extendBaseMarkingAlgorithm": true, "scripts": {}, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "prompt": "

Multiply this by $\\var{z5}$ to obtain the number of grams of glucose in $\\var{z5}~\\mathrm{l}$ of $1~\\mathrm{mol}$ solution.

", "allowFractions": false, "mustBeReduced": false, "minValue": "180.2*z5", "variableReplacements": [], "marks": "0", "mustBeReducedPC": 0, "showCorrectAnswer": true, "unitTests": [], "correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "showFractionHint": true, "customMarkingAlgorithm": "", "maxValue": "180.2*z5", "correctAnswerStyle": "plain", "useCustomName": false, "customName": ""}, {"extendBaseMarkingAlgorithm": true, "scripts": {}, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "prompt": "

Now you convert to $\\mathrm{mmol}$ by dividing by $1000$.

", "allowFractions": false, "mustBeReduced": false, "minValue": "180.2*z5/1000", "variableReplacements": [], "marks": "0", "mustBeReducedPC": 0, "showCorrectAnswer": true, "unitTests": [], "correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "showFractionHint": true, "customMarkingAlgorithm": "", "maxValue": "180.2*z5/1000", "correctAnswerStyle": "plain", "useCustomName": false, "customName": ""}, {"extendBaseMarkingAlgorithm": true, "scripts": {}, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "prompt": "

So for $\\var{z6}~\\mathrm{mmol}$ we multiply by $\\var{z6}$ to get the required number of grams of glucose in $\\var{z5}~\\mathrm{L}$. Give your answer here to 3 decimal places.

", "allowFractions": false, "mustBeReduced": false, "minValue": "180.2*z5*z6/1000-0.001", "variableReplacements": [], "marks": "0", "mustBeReducedPC": 0, "showCorrectAnswer": true, "unitTests": [], "correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "showFractionHint": true, "customMarkingAlgorithm": "", "maxValue": "180.2*z5*z6/1000+0.001", "correctAnswerStyle": "plain", "useCustomName": false, "customName": ""}], "sortAnswers": false, "variableReplacements": [], "marks": 0, "customName": "", "customMarkingAlgorithm": "", "showCorrectAnswer": true, "unitTests": []}], "ungrouped_variables": ["z8", "z9", "z4", "z5", "z6", "z7", "z1", "z2", "z3"], "rulesets": {}, "preamble": {"css": "", "js": ""}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Preparing solutions to given concentrations/dilutions.

"}, "functions": {}, "advice": "

These question test your ability to convert between different SI units.

\n

a)

\n

Here, you are given the required volume of the solution, $\\var{z1}~\\mathrm{ml}$, and the required concentration, $3~\\mathrm{g}/\\mathrm{l}$. You need to calculate how many grams are required per $\\var{z1}~\\mathrm{ml}$. Therefore,

\n

$\\var{z2}~\\mathrm{g}/\\mathrm{l} = \\frac{\\var{z2}~\\mathrm{g}}{1000~\\mathrm{ml}} = \\frac{\\var{z2}~\\mathrm{g}}{\\var{1000/z1} \\times \\var{z1}~\\mathrm{ml}} = \\var{z1*z2/1000}~\\mathrm{g}$ in $\\var{z1}~\\mathrm{ml}$.

\n

b)

\n

This can be calculated in a similar way.

\n

$1~\\mathrm{mol}$ solution = $74.5$ KCl in $1~\\mathrm{L}$.

\n

$\\var{z4}~\\mathrm{mol}$ solution = $\\var{z4} \\times 74.5~\\mathrm{g}$ KCl in $1~\\mathrm{L}$.

\n

$\\var{z4}~\\mathrm{mol}$ solution = $\\var{z4*74.5}~\\mathrm{g}$ KCl in $1000~\\mathrm{ml}$.

\n

$\\var{z4}~\\mathrm{mol}$ solution = $\\frac{\\var{z4*74.5}}{1000}~\\mathrm{g}$ KCl in $1~\\mathrm{ml}$.

\n

$\\var{z4}~\\mathrm{mol}$ solution = $\\var{z3} \\times \\var{z4*74.5/1000}~\\mathrm{g}$ KCl in $\\var{z3}~\\mathrm{ml}$.

\n

$\\var{z4}~\\mathrm{mol}$ solution = $\\var{z8}~\\mathrm{g}$ KCl in $\\var{z3}~\\mathrm{ml}$.

\n

c)

\n

Again, this is similar.

\n

$1~\\mathrm{mol}$ solution = $180.2~\\mathrm{g}$ glucose in $1~\\mathrm{L}$.

\n

$1~\\mathrm{mol}$ solution = $\\var{z5} \\times 180.2~\\mathrm{g}$ glucose in $\\var{z5}~\\mathrm{L}$.

\n

$1000~\\mathrm{mmol}$ solution = $\\var{z5} \\times 180.2~\\mathrm{g}$ glucose in $\\var{z5}~\\mathrm{L}$.

\n

$1~\\mathrm{mmol}$ solution = $\\frac{\\var{z5} \\times 180.2}{1000}~\\mathrm{g}$ glucose in $\\var{z5}~\\mathrm{L}$.

\n

$\\var{z6}~\\mathrm{mmol}$ solution = $\\frac{\\var{z6} \\times \\var{z5} \\times 180.2}{1000}~\\mathrm{g}$ glucose in $\\var{z5}~\\mathrm{L}$.

\n

$\\var{z6}~\\mathrm{mmol}$ solution = $\\var{z9}~\\mathrm{g}$ glucose in $\\var{z5}~\\mathrm{L}$.

", "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Chris Graham", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/369/"}]}]}], "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Chris Graham", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/369/"}]}