// Numbas version: exam_results_page_options {"name": "Simon's copy of 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": [{"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

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

", "rulesets": {}, "extensions": [], "tags": [], "metadata": {"description": "

Problem on a closed cylindrical tank having minimum surface area

", "licence": "Creative Commons Attribution 4.0 International"}, "name": "Simon's copy of Simon's copy of Maximum/minimum2", "variablesTest": {"maxRuns": 100, "condition": ""}, "variable_groups": [], "functions": {}, "ungrouped_variables": ["v"], "preamble": {"js": "", "css": ""}, "parts": [{"gaps": [{"maxValue": "2*({v}/(2*pi))^(1/3)", "precision": "2", "precisionPartialCredit": 0, "scripts": {}, "type": "numberentry", "strictPrecision": false, "variableReplacementStrategy": "originalfirst", "minValue": "2*({v}/(2*pi))^(1/3)", "showPrecisionHint": false, "precisionMessage": "You have not given your answer to the correct precision.", "correctAnswerFraction": false, "marks": 1, "showCorrectAnswer": true, "variableReplacements": [], "allowFractions": false, "precisionType": "dp"}, {"maxValue": "({v}/(2*pi))^(1/3)", "precision": "2", "precisionPartialCredit": 0, "scripts": {}, "type": "numberentry", "strictPrecision": false, "variableReplacementStrategy": "originalfirst", "minValue": "({v}/(2*pi))^(1/3)", "showPrecisionHint": false, "precisionMessage": "You have not given your answer to the correct precision.", "correctAnswerFraction": false, "marks": 1, "showCorrectAnswer": true, "variableReplacements": [], "allowFractions": false, "precisionType": "dp"}], "marks": 0, "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]]

", "showCorrectAnswer": true, "variableReplacements": [], "scripts": {}, "type": "gapfill", "variableReplacementStrategy": "originalfirst"}], "variables": {"v": {"description": "", "templateType": "randrange", "definition": "random(50..300#5)", "group": "Ungrouped variables", "name": "v"}}, "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/"}]}