// Numbas version: exam_results_page_options {"name": "Q6 (Calculate capacity of rectangular tank, given its dimensions)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/volume-of-a-cuboid.jpg", "/srv/numbas/media/question-resources/volume-of-a-cuboid.jpg"], ["question-resources/Cuboid.png", "/srv/numbas/media/question-resources/Cuboid.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["h", "d", "l", "cap", "cap1", "dd", "ll"], "name": "Q6 (Calculate capacity of rectangular tank, given its dimensions)", "tags": ["rebelmaths"], "advice": "

Part 1:

\n

To convert $litre$ to $cm^3$ $=>$ $litre \\times 1000 = cm^3$

\n

$\\var{cap}litres \\times 1000 = \\var{cap1}cm^3$

\n

\n

Part 2:

\n

To convert $m$ to $cm$ $=> m \\times 1000 = cm$

\n

$\\var{l} \\times 100 = \\var{ll}$

\n

\n

To convert $mm$ to $cm$ $=> \\frac{mm}{10} = cm$

\n

\n

$\\frac{\\var{d}}{10} = \\var{dd}cm$

\n

\n

Part 3:

\n

$Capacity = height \\times length \\times depth$

\n

$height = \\frac{\\var{cap1}}{\\var{ll} \\times \\var{dd}} = \\var{h}cm$

", "rulesets": {}, "parts": [{"prompt": "

What is the capacity, $(\\var{cap}litres)$, of the rectangular oil tank in $cm^3$.

\n

[[0]]$cm^3$

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{cap1}", "minValue": "{cap1}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Convert both the length and depth into $cm$.

\n

$Length = $[[0]]$cm$

\n

$Depth = $[[1]]$cm$

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{ll}", "minValue": "{ll}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry"}, {"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "1", "maxValue": "{dd}", "minValue": "{dd}", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "showPrecisionHint": false, "type": "numberentry"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

What is the height of the rectangular oil tank in $cm$.

\n

Correct to 2 decimal places!!

\n

[[0]]$cm$

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{h}+0.05", "minValue": "{h}-0.05", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "showPrecisionHint": false, "type": "numberentry"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

\n

The above rectangular tank holds  $\\var{cap}litres$ of oil. If the length of the tank is $\\var{l}m$ and the depth is $\\var{d}mm$, calculate the following.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"d": {"definition": "random(300..600#10)", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "h": {"definition": "cap1/(ll*dd)", "templateType": "anything", "group": "Ungrouped variables", "name": "h", "description": ""}, "dd": {"definition": "d/10", "templateType": "anything", "group": "Ungrouped variables", "name": "dd", "description": ""}, "cap": {"definition": "random(200..1000#50)", "templateType": "anything", "group": "Ungrouped variables", "name": "cap", "description": ""}, "cap1": {"definition": "cap*1000", "templateType": "anything", "group": "Ungrouped variables", "name": "cap1", "description": ""}, "l": {"definition": "random(1..2#0.1)", "templateType": "anything", "group": "Ungrouped variables", "name": "l", "description": ""}, "ll": {"definition": "l*100", "templateType": "anything", "group": "Ungrouped variables", "name": "ll", "description": ""}}, "metadata": {"description": "

Calculate capacity of rectangular tank, given its dimensions

\n

rebelmaths

", "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/"}]}]}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}]}