// Numbas version: exam_results_page_options {"name": "Drug Calculations with weights", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": [], "functions": {}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g"], "name": "Drug Calculations with weights", "rulesets": {}, "variables": {"a": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "definition": "random(0.1,0.5,0.01,0.05)"}, "d": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "definition": "precround(b/a,3)"}, "g": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "g", "definition": "a*f"}, "b": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "definition": "random(1,2,5,10)"}, "c": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "definition": "precround((a*f)/b,3)"}, "f": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "f", "definition": "random(45..80#5)"}}, "extensions": [], "statement": "", "preamble": {"js": "", "css": ""}, "variable_groups": [], "metadata": {"description": "
Question on drug calculations
", "licence": "Creative Commons Attribution 4.0 International"}, "variablesTest": {"maxRuns": 100, "condition": ""}, "advice": "Solution
\nIn 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.
\nIn this question: Prescribed dose is $\\var{a}$mg, Stock Strength is $\\var{b}$mg and Stock dose is 1ml.
\nHowever, we also need to consider the weight of the patient in this question. So we need to multiply the Prescribed Dose by the Weight.
\nThis gives: $\\var{a} \\times \\var{f} = \\var{g}$.
\nThen, using the formula: $\\dfrac{\\var{g}}{\\var{b}}$ $\\times$ $1$ = $\\var{c}$ml.
\nAlternative Solution
\nYou are told that the stock strength of the drug is $\\var{b}$mg in $1$ml.
\nSo for every $\\var{b}$mg of the drug we need, we need to give the patient $1$ml.
\nThis means $\\var{b}$mg = 1ml.
\nWe need $\\var{a} \\times \\var{f} = \\var{g}$mg to take into account the weight of the patient.
\nIn order to get $\\var{g}$mg, we divde $\\var{b}$mg by $\\var{b}$ and multiply by $\\var{g}$.
\nBecause $\\var{b}$mg = $1$ml and we have divided $\\var{b}$mg by $\\var{b}$ and then multiplied by $\\var{g}$ to get $\\var{g}$mg, we must divide the right hand side of the equals sign by $\\var{b}$ and multiply by $\\var{g}$ also.
\nSo, we have $\\dfrac{\\var{b}}{\\var{b}} \\times \\var{g}$ = $\\dfrac{1}{\\var{b}} \\times \\var{g}$.
\n$\\var{g}$mg = $\\var{c}$ml.
\nTherefore we must need to give the patient $\\var{c}$ml.
", "parts": [{"gaps": [{"maxValue": "c", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "unitTests": [], "mustBeReducedPC": 0, "correctAnswerFraction": false, "mustBeReduced": false, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "showFractionHint": true, "useCustomName": false, "type": "numberentry", "customName": "", "extendBaseMarkingAlgorithm": true, "minValue": "c", "variableReplacements": [], "allowFractions": false, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "scripts": {}, "marks": "1"}], "variableReplacementStrategy": "originalfirst", "prompt": "Your patient has been prescribed $\\var{a}$ mg/kg of a drug as an injection. The stock strength given is $\\var{b}$mg in $1$ml and the patient weighs $\\var{f}$kg. How many ml do you give to the patient? Give your answer to 3 decimal places where necessary.
\n[[0]] ml
", "unitTests": [], "sortAnswers": false, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "useCustomName": false, "type": "gapfill", "customName": "", "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "marks": 0}], "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/"}]}