// Numbas version: exam_results_page_options {"name": "Bounds with area", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Bounds with area", "tags": [], "metadata": {"description": "Working out upper and lower bounds for area given length and width, and for length given area and width.", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Give all answers to 2 decimal places:

", "advice": "

(a)

\n

The given width = $\\var{width}$ cm and length = $\\var{length}$ cm are each rounded to the nearest 0.1cm. To find the upper and lower bounds we must add/subtract half of this value.

\n

Since half of 0.1cm is 0.05cm we obtain:

\n

Lower bound for width $= \\var{width}-0.05=\\var{width-0.05}$

\n

Upper bound for width $= \\var{width}+0.05=\\var{width+0.05}$

\n

Lower bound for length $= \\var{length}-0.05=\\var{length-0.05}$

\n

Upper bound for length $= \\var{length}+0.05=\\var{length+0.05}$

\n

 

\n

Since area = length $\\times$ width, we have:

\n

lower bound area = lower bound length $\\times$ lower bound width $=\\var{length-0.05} \\times \\var{width-0.05} = \\var{minarea}$ cm$^2=\\var{precround(minarea,2)}$ cm$^2$ to 2d.p.

\n

and

\n

upper bound area = upper bound length $\\times$ upper bound width $=\\var{length+0.05} \\times\\var{width+0.05} = \\var{maxarea}$ cm$^2=\\var{precround(maxarea,2)}$ cm$^2$ to 2d.p.

\n

\n

(b)

\n

The given width = $\\var{width2}$ cm is rounded to the nearest 1cm. To find the upper and lower bounds we must add/subtract half of this value.

\n

Since half of 1cm is 0.5cm we obtain:

\n

Lower bound for width $= \\var{width2}-0.5=\\var{width2-0.5}$

\n

Upper bound for width $= \\var{width2}+0.5=\\var{width2+0.5}$

\n

\n

\n

The given area = $\\var{area}$ cm is rounded to the nearest 10cm$^2$. To find the upper and lower bounds we must add/subtract half of this value.

\n

Since half of 10cm$^2$ is 5cm$^2$ we obtain:

\n

Lower bound for area $= \\var{area}-5=\\var{area-5}$

\n

Upper bound for area $= \\var{area}+5=\\var{area+5}$

\n

\n

Since length = area $\\div$ width, we have:

\n

lower bound length= lower bound area $\\div$ upper bound width      (to get a small answer we want to be dividing a small number by a big number)

\n

$=\\var{area-5} \\div \\var{width2+0.5} = \\var{minlength}$ cm$=\\var{precround(minlength,2)}$ cm to 2d.p.

\n

\n

and

\n

upper bound length = upper bound area $\\div$ lower bound width     (to get a large answer we want to be dividing a large number by a small number)

\n

$=\\var{area+5} \\div \\var{width2-0.5} = \\var{maxlength}$ cm$=\\var{precround(maxlength,2)}$ cm to 2d.p.

", "rulesets": {}, "extensions": [], "variables": {"width": {"name": "width", "group": "Ungrouped variables", "definition": "random (2..4#0.1)", "description": "", "templateType": "anything"}, "length": {"name": "length", "group": "Ungrouped variables", "definition": "random (5..7#0.1)", "description": "", "templateType": "anything"}, "minarea": {"name": "minarea", "group": "Ungrouped variables", "definition": "(width-0.05)*(length-0.05)", "description": "", "templateType": "anything"}, "maxarea": {"name": "maxarea", "group": "Ungrouped variables", "definition": "(width+0.05)*(length+0.05)", "description": "", "templateType": "anything"}, "width2": {"name": "width2", "group": "Ungrouped variables", "definition": "random(25..65)", "description": "", "templateType": "anything"}, "area": {"name": "area", "group": "Ungrouped variables", "definition": "random(200..500#10)", "description": "", "templateType": "anything"}, "minlength": {"name": "minlength", "group": "Ungrouped variables", "definition": "(area-5)/(width2+0.5)", "description": "", "templateType": "anything"}, "maxlength": {"name": "maxlength", "group": "Ungrouped variables", "definition": "(area+5)/(width2-0.5)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["width", "length", "minarea", "maxarea", "width2", "area", "minlength", "maxlength"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

A rectangle has a width of $\\var{width}$ cm and length of $\\var{length}$ cm, each rounded to the nearest mm.

\n

What is:

\n

(i) the minimum possible area of the rectangle in cm$^2$ [[0]] 

\n

(ii) the maximum possible area of the rectangle in cm$^2$ [[1]] 

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "minarea", "maxValue": "minarea", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "maxarea", "maxValue": "maxarea", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Another rectangle has a width of $\\var{width2}$ cm (rounded to the nearest 1cm) and area of $\\var{area}$ cm$^2$ (rounded to the nearest 10 cm$^2)$.

\n

What is:

\n

(i) the minimum possible length of the rectangle in cm [[0]] 

\n

(ii) the maximum possible length of the rectangle in cm [[1]] 

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "minlength", "maxValue": "minlength", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "maxlength", "maxValue": "maxlength", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "contributors": [{"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}]}], "contributors": [{"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}