// Numbas version: exam_results_page_options {"name": "Drug Calculations - different weights", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"statement": "", "rulesets": {}, "name": "Drug Calculations - different weights", "extensions": [], "variable_groups": [], "parts": [{"customMarkingAlgorithm": "", "scripts": {}, "gaps": [{"customMarkingAlgorithm": "", "scripts": {}, "correctAnswerFraction": false, "mustBeReduced": false, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "type": "numberentry", "extendBaseMarkingAlgorithm": true, "allowFractions": false, "minValue": "c", "marks": "1", "customName": "", "unitTests": [], "maxValue": "c", "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "mustBeReducedPC": 0, "showFractionHint": true, "useCustomName": false, "showFeedbackIcon": true}], "prompt": "

Your patient has been prescribed $\\var{a}${f} 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

[[0]] ml

", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "type": "gapfill", "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "marks": 0, "customName": "", "unitTests": [], "useCustomName": false, "showFeedbackIcon": true}], "functions": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "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

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

\n

", "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "h", "j"], "variables": {"d": {"description": "", "templateType": "anything", "definition": "precround(b/a,3)", "name": "d", "group": "Ungrouped variables"}, "f": {"description": "", "templateType": "anything", "definition": "random(\"mg\",\"g\",\"mcg\")", "name": "f", "group": "Ungrouped variables"}, "c": {"description": "", "templateType": "anything", "definition": "if(f=\"mg\",precround(a/b,3),if(f=\"g\",precround((a*1000)/b,3),precround((a/1000)/b,3)))", "name": "c", "group": "Ungrouped variables"}, "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.\")", "name": "g", "group": "Ungrouped variables"}, "a": {"description": "", "templateType": "anything", "definition": "random(10,15,20)", "name": "a", "group": "Ungrouped variables"}, "j": {"description": "", "templateType": "anything", "definition": "if(f=\"mg\",a,if(f=\"g\",a*1000,a/1000))", "name": "j", "group": "Ungrouped variables"}, "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\"))", "name": "h", "group": "Ungrouped variables"}, "b": {"description": "", "templateType": "anything", "definition": "random(5,10,15)", "name": "b", "group": "Ungrouped variables"}}, "metadata": {"description": "

Question on drug calculations

", "licence": "Creative Commons Attribution 4.0 International"}, "preamble": {"js": "", "css": ""}, "tags": [], "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/"}]}