// Numbas version: exam_results_page_options {"name": "Drug Calculations with weights - different weights, different amounts, different volumes", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"statement": "

Note: As these are practise questions, and are random, some of the amounts may not be realistic!

", "metadata": {"description": "

Question on drug calculations

", "licence": "Creative Commons Attribution 4.0 International"}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "h", "k", "l", "m", "j", "stock", "zz", "z", "y"], "parts": [{"type": "gapfill", "showCorrectAnswer": true, "prompt": "

Your $\\var{zz}$kg patient has been prescribed $\\var{a}${f} for every $10$kg of body weight of a drug orally. The stock strength given is $\\var{b}${k}/$\\var{stock}$ml. How much in ml do you give to the patient? Give your answer to 3 decimal places where necessary.

\n

[[0]] ml

", "marks": 0, "gaps": [{"type": "numberentry", "showFractionHint": true, "showCorrectAnswer": true, "marks": "1", "scripts": {}, "maxValue": "j", "variableReplacementStrategy": "originalfirst", "correctAnswerStyle": "plain", "variableReplacements": [], "showFeedbackIcon": true, "minValue": "j", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "mustBeReduced": false, "unitTests": [], "useCustomName": false, "customName": "", "mustBeReducedPC": 0, "correctAnswerFraction": false, "customMarkingAlgorithm": "", "allowFractions": false}], "scripts": {}, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "unitTests": [], "useCustomName": false, "customName": "", "customMarkingAlgorithm": ""}], "variable_groups": [], "tags": [], "rulesets": {}, "variables": {"j": {"definition": "precround((m/b)*stock,3)", "description": "", "name": "j", "group": "Ungrouped variables", "templateType": "anything"}, "y": {"definition": "a*z", "description": "", "name": "y", "group": "Ungrouped variables", "templateType": "anything"}, "f": {"definition": "random(\"mg\",\"g\",\"mcg\")", "description": "", "name": "f", "group": "Ungrouped variables", "templateType": "anything"}, "k": {"definition": "if(f=\"g\",random(\"mg\",\"g\"),if(f=\"mcg\",random(\"mg\",\"mcg\"),random(\"g\",\"mg\",\"mcg\")))", "description": "", "name": "k", "group": "Ungrouped variables", "templateType": "anything"}, "m": {"definition": "if(l=\"times\",(a*1000)*z,if(l=\"divide\",(a/1000)*z,if(l=\"equal\",a*z)))", "description": "", "name": "m", "group": "Ungrouped variables", "templateType": "anything"}, "stock": {"definition": "random(1,2,5,10)", "description": "", "name": "stock", "group": "Ungrouped variables", "templateType": "anything"}, "a": {"definition": "random(1,2,5,10)", "description": "", "name": "a", "group": "Ungrouped variables", "templateType": "anything"}, "l": {"definition": "if(f=\"g\",if(k=\"mg\",\"times\",\"equal\"),\n if(f=\"mcg\",if(k=\"mg\",\"divide\",\"equal\"),\n if(f=\"mg\",if(k=\"g\",\"divide\",if(k=\"mcg\",\"times\",if(k=\"mg\",\"equal\"))))))", "description": "", "name": "l", "group": "Ungrouped variables", "templateType": "anything"}, "zz": {"definition": "random(40..80#10)", "description": "", "name": "zz", "group": "Ungrouped variables", "templateType": "anything"}, "z": {"definition": "zz/10", "description": "", "name": "z", "group": "Ungrouped variables", "templateType": "anything"}, "b": {"definition": "random(5,10,15)", "description": "", "name": "b", "group": "Ungrouped variables", "templateType": "anything"}, "d": {"definition": "precround(b/a,3)", "description": "", "name": "d", "group": "Ungrouped variables", "templateType": "anything"}, "c": {"definition": "if(f=\"mg\",precround((a*z)/b,3),if(f=\"g\",precround(((a*1000)*z)/b,3),precround(((a/1000)*z)/b,3)))", "description": "", "name": "c", "group": "Ungrouped variables", "templateType": "anything"}, "g": {"definition": "if(f=k,\"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.\")", "description": "", "name": "g", "group": "Ungrouped variables", "templateType": "anything"}, "h": {"definition": "if(f=\"g\",if(k=\"mg\",\"Here we convert g into mg by multiplying by 1000\",\"\"),\n if(f=\"mcg\",if(k=\"mg\",\"Here we convert mcg into mg by dividing by 1000\",\"\"),\n if(f=\"mg\",if(k=\"g\",\"Here we convert mg into g by dividing by 1000\",\n if(k=\"mcg\",\"Here we convert mg into mcg by multiplying by 1000\",\"\"),\"\"),\"\"),\"\"),\"\")", "description": "", "name": "h", "group": "Ungrouped variables", "templateType": "anything"}}, "extensions": [], "advice": "

Solution

\n

In order to calculate the amount of drug required, 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 $\\var{stock}$ml.

\n

Don't forget to include the weight of the patient as they have been prescribed $\\var{a}$mcg for every 10kg of body weight. 

\n

You therefore need to divide their weight by $10$ and then multiply by $\\var{a}$ to get the required dose: $\\var{zz}\\div 10 = \\var{z} \\times \\var{a} = \\var{y}$.

\n

{g} {h}

\n

Then using the formula: $\\dfrac{\\var{m}}{\\var{b}}$ $\\times$ $\\var{stock}$ = $\\var{j}$ml to 3 decimal places.

\n

", "name": "Drug Calculations with weights - different weights, different amounts, different volumes", "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "functions": {}, "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/"}]}