// Numbas version: finer_feedback_settings {"name": "Q5 Oil tanks problems", "extensions": [], "custom_part_types": [], "resources": [["question-resources/recttank.png", "recttank.png"], ["question-resources/verttank.png", "verttank.png"], ["question-resources/watrtank.png", "watrtank.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["size", "dia", "per", "price", "vol1", "dia1", "ans1", "vol2", "ans2", "vol3", "ans3"], "name": "Q5 Oil tanks problems", "tags": ["cubic metres", "litres", "REBEL", "rebel", "Rebel", "rebelmaths", "teame", "Volume", "volume"], "preamble": {"css": "", "js": ""}, "advice": "
N.B
\n$1m = 1000mm$
\n$1m^3 = 1000$litres
\nPart 1
\nVolume of cylindrical oil tank
\nV = $\\pi r^2h$
\nV = $\\pi \\times(\\frac{\\var{dia1}}{2\\times1000})^2 \\times \\var{size[0]} = \\var{vol1}$
\nAns = $\\var{vol1} \\times 1000 \\times (\\frac{\\var{price[0]}}{100}) \\times (\\frac{\\var{per[0]}}{100}) = \\var{ans1}$
\nPart 2
\nVolume of cylindrical oil tank
\nV = $\\pi r^2h$
\nV = $\\pi \\times(\\frac{\\var{dia[0]}}{2})^2 \\times \\var{size[1]} = \\var{vol2}$
\nAns = $\\var{vol2} \\times 1000 \\times (\\frac{\\var{price[1]}}{100}) = \\var{ans2}$
\nPart 3
\nV = length $\\times$ breadth $\\times$ height
\nV = $\\var{size[2]} \\times \\var{size[3]} \\times \\var{dia[1]} = \\var{vol3}$
\nAns = $\\var{vol3} \\times 1000 \\times (\\frac{\\var{price[2]}}{100}) = \\var{ans3}$
", "rulesets": {}, "parts": [{"stepsPenalty": 0, "prompt": "
A rectangular oil tank has dimensions $\\var{size[2]}m$ by $\\var{size[3]}m$ by $\\var{dia[1]}m$. Find the cost to fill this tank if the fuel is priced at $\\var{price[2]}$ cent per litre.
\n€[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "Converting metres cubed to Litres
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"precisionType": "dp", "integerPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{ans3}", "strictPrecision": true, "minValue": "{ans3}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "0", "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"stepsPenalty": 0, "prompt": "
Find the cost of a fill of heating oil for a cylindrical oil tank, filled to capacity, $\\var{size[1]}m$ long and $\\var{dia[0]}m$ in diameter. The fuel is priced at $\\var{price[1]}$ cent per litre.
\n€[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "Be careful to use an accurate value for pi from your calculator.
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"precisionType": "dp", "integerPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{ans2}", "strictPrecision": true, "minValue": "{ans2}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": 0, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "
A cylindrical oil tank measures $\\var{size[0]}m$ long and $\\var{dia1}mm$ in diameter. Calculate the cost to fill $\\var{per[0]}$% of the tank, if the fuel is priced at $\\var{price[0]}$ cent per litre.
\n€[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "integerPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{ans1}", "strictPrecision": true, "minValue": "{ans1}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": 0, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "Solve the following oil tank questions to the nearest euro.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"ans1": {"definition": "vol1*1000*(price[0]/100)*(per[0]/100)", "templateType": "anything", "group": "Ungrouped variables", "name": "ans1", "description": ""}, "price": {"definition": "shuffle(76..92#0.1)[0..3]", "templateType": "anything", "group": "Ungrouped variables", "name": "price", "description": ""}, "ans3": {"definition": "vol3*1000*price[2]/100", "templateType": "anything", "group": "Ungrouped variables", "name": "ans3", "description": ""}, "dia": {"definition": "shuffle(1.2..1.8#0.01)[0..2]", "templateType": "anything", "group": "Ungrouped variables", "name": "dia", "description": ""}, "per": {"definition": "shuffle(60..90#10)[0..2]", "templateType": "anything", "group": "Ungrouped variables", "name": "per", "description": ""}, "vol1": {"definition": "pi*((dia1/2000)^2)*size[0]", "templateType": "anything", "group": "Ungrouped variables", "name": "vol1", "description": ""}, "vol3": {"definition": "size[2]*size[3]*dia[1]", "templateType": "anything", "group": "Ungrouped variables", "name": "vol3", "description": ""}, "vol2": {"definition": "pi*((dia[0]/2)^2)*size[1]", "templateType": "anything", "group": "Ungrouped variables", "name": "vol2", "description": ""}, "dia1": {"definition": "random(810..940#10)", "templateType": "anything", "group": "Ungrouped variables", "name": "dia1", "description": ""}, "ans2": {"definition": "vol2*1000*(price[1]/100)", "templateType": "anything", "group": "Ungrouped variables", "name": "ans2", "description": ""}, "size": {"definition": "shuffle(2.6..3.75#0.01)[0..4]", "templateType": "anything", "group": "Ungrouped variables", "name": "size", "description": ""}}, "metadata": {"description": "Volume of Oil tanks. Converting cubic metres to L.
\nrebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}], "resources": ["question-resources/recttank.png", "question-resources/verttank.png", "question-resources/watrtank.png"]}]}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}]}