// Numbas version: exam_results_page_options {"name": "Lois's copy of Drug Calculations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "name": "Lois's copy of Drug Calculations", "parts": [{"minValue": "c", "stepsPenalty": "1", "variableReplacements": [], "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "showFeedbackIcon": true, "allowFractions": false, "steps": [{"type": "information", "scripts": {}, "variableReplacements": [], "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "prompt": "

Hint:

\n

In order to calculate the amount of drug in ml, you need to use the following formula:

\n

$\\dfrac{\\text{Prescribed dose}}{\\text{Stock Strength}}$ $\\times$ Stock dose.

\n

\n

", "showFeedbackIcon": true, "marks": 0}], "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "marks": "2", "type": "numberentry", "prompt": "

Your patient has been prescribed $\\var{a}$ mg of a drug as an injection. The stock strength given is $\\var{b}$mg in $1$ml. How many ml do you give to the patient? Give your answer to 3 decimal places where necessary.

\n

", "maxValue": "c", "correctAnswerFraction": false}], "preamble": {"css": "", "js": ""}, "tags": [], "functions": {}, "ungrouped_variables": ["a", "b", "c", "d"], "variablesTest": {"maxRuns": 100, "condition": ""}, "extensions": [], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Question on drug calculations

"}, "advice": "

Solution

\n

In order to calculate the amount of drug in ml, you need to use the following formula:

\n

$\\dfrac{\\text{Prescribed dose}}{\\text{Stock Strength}}$ $\\times$ Stock dose.

\n

In this question: Prescribed dose is $\\var{a}$mg, Stock Strength is $\\var{b}$mg and Stock dose is 1ml.

\n

Using the formula: $\\dfrac{\\var{a}}{\\var{b}}$ $\\times$ $1$ = $\\var{c}$ml.

\n

Alternative Solution

\n

You are told that the stock strength of the drug is $\\var{b}$mg in $1$ml.

\n

So for every $\\var{b}$mg of the drug we need, we need to give the patient $1$ml.

\n

This means $\\var{b}$mg = 1ml.

\n

We need $\\var{a}$mg.

\n

In order to get $\\var{a}$mg, we divde $\\var{b}$mg by $\\var{d}$.

\n

Because $\\var{b}$mg = $1$ml and we have divided $\\var{b}$mg by $\\var{d}$ to get $\\var{a}$mg, we must divide the right hand side of the equals sign by $\\var{d}$ also.

\n

So, we have $\\dfrac{\\var{b}}{\\var{d}}$ = $\\dfrac{1}{\\var{d}}$.

\n

                  $\\var{a}$ = $\\var{c}$ml.

\n

Therefore we must need to give the patient $\\var{c}$ml.

", "statement": "

Drug Calculations

", "variables": {"a": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,5)", "name": "a", "description": ""}, "c": {"group": "Ungrouped variables", "templateType": "anything", "definition": "precround(a/b,3)", "name": "c", "description": ""}, "d": {"group": "Ungrouped variables", "templateType": "anything", "definition": "precround(b/a,3)", "name": "d", "description": ""}, "b": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(5,10,15)", "name": "b", "description": ""}}, "variable_groups": [], "type": "question", "contributors": [{"name": "Lois Rollings", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/326/"}, {"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}]}]}], "contributors": [{"name": "Lois Rollings", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/326/"}, {"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}]}