// Numbas version: exam_results_page_options {"name": "BMI calculations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "BMI calculations", "tags": ["ephlth", "nursing"], "metadata": {"description": "

Given the formula for BMI, students are asked to determine a patient's BMI given their height in cm (as people usually do) and their mass in kg.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Calculate the following with the use of a calculator.

", "advice": "", "rulesets": {}, "extensions": [], "variables": {"upordown": {"name": "upordown", "group": "Ungrouped variables", "definition": "if(bmi6dec>bmi,\"down\",if(bmi6decA patient has a height of $\\var{height}$ cm and weighs $\\var{mass}$ kg. 

\n

The formula for BMI (Body Mass Index) is

\n

\\[\\text{BMI}=\\frac{\\text{mass (kg)}}{\\text{height (m)}^2}.\\] 

\n

The patient's BMI to two decimal places is [[0]].

", "stepsPenalty": "1", "steps": [{"type": "information", "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": "

The equation for BMI is

\n

\\[\\text{BMI}=\\frac{\\text{mass (kg)}}{\\text{height (m)}^2}\\] 

\n

Notice the units in the formula are kilograms and metres. We convert the $\\var{height}$ cm into metres by moving the decimal point twice to the left to get $\\var{height/100}$ m. 

\n

Using a scientific calculator you can type in \\[\\var{mass}\\div \\var{height/100}^2\\] or by using the fraction button you may be able to type in \\[\\frac{\\var{mass}}{\\var{height/100}^2}\\] and it will give you something like $\\var{bmi6dec}$ which you need to round {upordown} to two decimal places and get $\\var{bmi}$ $\\var{bmi}0$ $\\var{bmi}.00$

\n

\n

\n

A few things to remark:

\n"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{bmi}", "maxValue": "{bmi}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "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/"}]}