// Numbas version: exam_results_page_options {"name": "Keeping track of units (dimensional analysis) 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Keeping track of units (dimensional analysis) 2", "tags": [], "metadata": {"description": "Nursing question. Determine the units of an answer given the units and operations used.", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Evaluate the following without using a calculator.

\n

If you are unsure of how to do a question, click on Reveal answers to see the full working. Then, once you understand how to do the question, click on Try another question like this one to start again.

", "advice": "

In our situation

\n

\\[\\frac{\\var{units[0]}}{\\var{units[0]}}\\times \\frac{\\var{units[1]}}{1}\\] \\[\\frac{\\var{units[0]}\\times\\var{units[1]}}{\\var{units[0]}}\\] 

\n

the {units[0]} 'cancel', leaving $\\var{units[1]}$.

\n

So why do the {units[0]} cancel? Well, on the top of the fraction we have a '{units[0]}'  but we also have a '{units[0]}' on the bottom, and if you divide something by itself you get $1$, which doesn't affect the units.

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"seed": {"name": "seed", "group": "Ungrouped variables", "definition": "random(0,1)", "description": "", "templateType": "anything", "can_override": false}, "units": {"name": "units", "group": "Ungrouped variables", "definition": "shuffle(fulllist)[0..2]", "description": "", "templateType": "anything", "can_override": false}, "fulllist": {"name": "fulllist", "group": "Ungrouped variables", "definition": "['mL','mg','hr','drops','min','kg','mcg','units']", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["fulllist", "units", "seed"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Suppose you calculate something using the following units and operations.

\n

\\[\\frac{\\var{units[0]}}{\\var{units[0]}}\\times \\frac{\\var{units[1]}}{1}\\] \\[\\frac{\\var{units[0]}\\times\\var{units[1]}}{\\var{units[0]}}\\] 

\n

What units would the final answer have?

\n

\n

[[0]] (type your answer without spaces)

", "gaps": [{"type": "patternmatch", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{units[1]}", "displayAnswer": "{units[1]}", "matchMode": "regex"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}