// Numbas version: exam_results_page_options {"name": "Simon's copy of Maximum/minimum2", "extensions": [], "custom_part_types": [], "resources": [["question-resources/Untitled2.jpg", "/srv/numbas/media/question-resources/Untitled2.jpg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": [], "statement": "

A closed cylindrical tank is to be built having a volume of \\(\\var{v}\\) cc.

\n

Determine the required height, \\(h\\), and radius, \\(r\\), if the total surface area is to be a minimum.

\n

", "preamble": {"css": "", "js": ""}, "ungrouped_variables": ["v"], "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "rulesets": {}, "advice": "

\\(\\pi r^2h=\\var{v}\\)

\n

\\(h=\\frac{\\var{v}}{\\pi r^2}\\)

\n

The total surface area is to be a minimum.

\n

Lid + curved surface area + base

\n

\\(A=\\pi r^2+2\\pi rh+\\pi r^2\\)

\n

\\(A=2\\pi r^2+2\\pi r\\left(\\frac{\\var{v}}{\\pi r^2}\\right)\\)

\n

\\(A=2\\pi r^2+\\simplify{2*{v}}r^{-1}\\)

\n

\\(\\frac{dA}{dr}=4\\pi r-\\simplify{2{v}}r^{-2}=0\\)

\n

\\(4\\pi r=\\simplify{2*{v}}/{r^2}\\)

\n

\\(r^3=\\frac{\\var{v}}{2\\pi}\\)

\n

\\(r=\\simplify{({v}/(2*pi))^(1/3)}\\)

\n

From the second line we have the relation \\(h=\\frac{\\var{v}}{\\pi r^2}\\) to get

\n

\\(h=2*\\simplify{({v}/(2*pi))^(1/3)}\\)

\n

", "variables": {"v": {"group": "Ungrouped variables", "templateType": "randrange", "description": "", "name": "v", "definition": "random(50..300#5)"}}, "parts": [{"marks": 0, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "prompt": "

Input the cyinder height, correct to two decimal places.

\n

\\(h = \\) [[0]]

\n

Input the required cylinder radius, correct to two decimal places.

\n

\\(r = \\) [[1]]

", "gaps": [{"type": "numberentry", "minValue": "2*({v}/(2*pi))^(1/3)", "strictPrecision": false, "allowFractions": false, "maxValue": "2*({v}/(2*pi))^(1/3)", "precisionMessage": "You have not given your answer to the correct precision.", "precisionType": "dp", "marks": 1, "showCorrectAnswer": true, "precisionPartialCredit": 0, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "precision": "2", "variableReplacements": [], "scripts": {}}, {"type": "numberentry", "minValue": "({v}/(2*pi))^(1/3)", "strictPrecision": false, "allowFractions": false, "maxValue": "({v}/(2*pi))^(1/3)", "precisionMessage": "You have not given your answer to the correct precision.", "precisionType": "dp", "marks": 1, "showCorrectAnswer": true, "precisionPartialCredit": 0, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "precision": "2", "variableReplacements": [], "scripts": {}}], "variableReplacements": [], "type": "gapfill", "scripts": {}}], "functions": {}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Problem on a closed cylindrical tank having minimum surface area

"}, "extensions": [], "name": "Simon's copy of Maximum/minimum2", "type": "question", "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}]}], "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}