// Numbas version: exam_results_page_options {"name": "Drug Calculations with weights - different weights", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"ungrouped_variables": ["a", "b", "c", "d", "f", "g", "h", "j", "z"], "extensions": [], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Question on drug calculations

"}, "functions": {}, "statement": "", "tags": [], "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "rulesets": {}, "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}${f}, Stock Strength is $\\var{b}$mg and Stock dose is 1ml.

\n

{g} {h}

\n

We also need to consider the weight of the patient which is $\\var{z}$kg as the dose is per kg.

\n

Therefore, using the formula: $\\dfrac{\\var{j}\\times\\var{z}}{\\var{b}}$ $\\times$ $1$ = $\\var{c}$ml rounded to $3$ decimal places.

\n

", "name": "Drug Calculations with weights - different weights", "variables": {"j": {"name": "j", "description": "", "templateType": "anything", "definition": "if(f=\"mg\",a,if(f=\"g\",a*1000,a/1000))", "group": "Ungrouped variables"}, "b": {"name": "b", "description": "", "templateType": "anything", "definition": "random(5,10,15)", "group": "Ungrouped variables"}, "g": {"name": "g", "description": "", "templateType": "anything", "definition": "if(f=\"mg\",\"Since the Need and the Have are in the same units, we do not need to convert.\",\"Since the Need and the Have are different units, we need to convert one of the units into the other.\")", "group": "Ungrouped variables"}, "d": {"name": "d", "description": "", "templateType": "anything", "definition": "precround(b/a,3)", "group": "Ungrouped variables"}, "c": {"name": "c", "description": "", "templateType": "anything", "definition": "if(f=\"mg\",precround((a*z)/b,3),if(f=\"g\",precround(((a*1000)*z)/b,3),precround(((a/1000)*z)/b,3)))", "group": "Ungrouped variables"}, "f": {"name": "f", "description": "", "templateType": "anything", "definition": "random(\"mg\",\"g\",\"mcg\")", "group": "Ungrouped variables"}, "a": {"name": "a", "description": "", "templateType": "anything", "definition": "random(1,0.5,0.2)", "group": "Ungrouped variables"}, "z": {"name": "z", "description": "", "templateType": "anything", "definition": "random(40..80#5)", "group": "Ungrouped variables"}, "h": {"name": "h", "description": "", "templateType": "anything", "definition": "if(f=\"mg\",\"\",\n if(f=\"g\",\"Here, we convert g into mg by multiplying by 1000\",\"Here, we convert mcg into mg by dividing by 1000\"))", "group": "Ungrouped variables"}}, "parts": [{"variableReplacements": [], "marks": 0, "prompt": "

Your patient has been prescribed $\\var{a}${f}/kg 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 if they weigh $\\var{z}$kg? Give your answer to 3 decimal places where necessary.

\n

[[0]] ml

", "unitTests": [], "scripts": {}, "customName": "", "sortAnswers": false, "showFeedbackIcon": true, "showCorrectAnswer": true, "type": "gapfill", "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "useCustomName": false, "gaps": [{"variableReplacements": [], "marks": "1", "correctAnswerFraction": false, "unitTests": [], "scripts": {}, "minValue": "c", "correctAnswerStyle": "plain", "customName": "", "maxValue": "c", "showFeedbackIcon": true, "showCorrectAnswer": true, "type": "numberentry", "showFractionHint": true, "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "useCustomName": false, "mustBeReducedPC": 0, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "mustBeReduced": false}], "customMarkingAlgorithm": ""}], "preamble": {"css": "", "js": ""}, "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}]}]}], "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}]}