// Numbas version: exam_results_page_options {"name": "Maximum/minimum Cylinder", "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": [{"name": "Maximum/minimum Cylinder", "tags": [], "metadata": {"description": "

Problem on a closed cylindrical tank having minimum surface area

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

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

\n

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

\n

", "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

", "rulesets": {}, "extensions": [], "variables": {"v": {"name": "v", "group": "Ungrouped variables", "definition": "random(50 .. 300#5)", "description": "", "templateType": "randrange"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["v"], "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": "

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", "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": "2*({v}/(2*pi))^(1/3)", "maxValue": "2*({v}/(2*pi))^(1/3)", "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": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"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": "({v}/(2*pi))^(1/3)", "maxValue": "({v}/(2*pi))^(1/3)", "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": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}]}]}], "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}]}