// Numbas version: exam_results_page_options {"name": "GA4 Volume of a triangular prism", "extensions": [], "custom_part_types": [], "resources": [["question-resources/sqbasedpyramid_sEpkGzO.svg", "/srv/numbas/media/question-resources/sqbasedpyramid_sEpkGzO.svg"], ["question-resources/triangularprism.svg", "/srv/numbas/media/question-resources/triangularprism.svg"], ["question-resources/cylinder.svg", "/srv/numbas/media/question-resources/cylinder.svg"], ["question-resources/cuboid.svg", "/srv/numbas/media/question-resources/cuboid.svg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "GA4 Volume of a triangular prism", "tags": ["3D shapes", "cuboid", "Cylinder", "cylinder", "pyramid", "taxonomy", "triangular prism", "volume", "Volume", "volume of a cuboid", "volume of a cylinder", "volume of a pyramid", "volume of a triangular prism"], "metadata": {"description": "

Calculate the volume of different 3D shapes, given the units and measurements required. The formulae for the volume of each shape are available as steps if required.

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

For a triangular prism, we first need to find the area of one of the faces then multiply this area by the depth of the prism.
In this example the easiest way to calculate the volume is to take the area of the triangular face first with $\\mathrm{base} = \\var{w6}m$ and $\\mathrm{height} = \\var{h6}m\\thinspace$.

\n

\\begin{align}
\\mathrm{Area\\thinspace_\\triangle} &= \\frac{\\mathrm{base} \\times \\mathrm{height}}{2} \\\\
&= \\frac{\\var{w6} \\times \\var{h6}}{2} \\\\
&= \\var{0.5*w6*h6}\\, \\mathrm{m}^2\\,.
\\end{align}

\n

Now that we have the area of the triangular face ($\\mathrm{Area\\thinspace_\\triangle}$) we can multiply this by the $\\mathrm{depth} = \\var{d6}m\\thinspace$.

\n

\\begin{align}
\\mathrm{Volume} &= \\mathrm{Area\\thinspace_\\triangle} \\times \\mathrm{depth} \\\\
&= \\var{0.5*w6*h6} \\times \\var{d6} \\\\
&= \\var{0.5*w6*h6*d6}\\, \\mathrm{m}^2\\,.
\\end{align}

\n

Use this link to find resources to help you revise how to calculate the volume of a triangular prism.

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"d4": {"name": "d4", "group": "Cuboid ", "definition": "random(2..5#1)", "description": "

Side of square in cuboid.

", "templateType": "anything", "can_override": false}, "w6": {"name": "w6", "group": "Triangular prism", "definition": "random(5..9#1)", "description": "

Creates base of triangle.

", "templateType": "anything", "can_override": false}, "d8": {"name": "d8", "group": "Square based pyramid", "definition": "random(3..6#0.1)", "description": "

One side of square base.

", "templateType": "anything", "can_override": false}, "h8": {"name": "h8", "group": "Square based pyramid", "definition": "random(3..7#1)", "description": "

Height of pyramid.

", "templateType": "anything", "can_override": false}, "w7": {"name": "w7", "group": "Cylinder", "definition": "random(7..15#0.1)", "description": "

Depth of cylinder.

", "templateType": "anything", "can_override": false}, "d6": {"name": "d6", "group": "Triangular prism", "definition": "random(9..15#0.1)", "description": "

Depth of triangular prism.

", "templateType": "anything", "can_override": false}, "r7": {"name": "r7", "group": "Cylinder", "definition": "random(2..6#1)", "description": "

Radius of the cylinder.

", "templateType": "anything", "can_override": false}, "h4": {"name": "h4", "group": "Cuboid ", "definition": "random(2..5#1 except d4)", "description": "

Side of square in cuboid.

", "templateType": "anything", "can_override": false}, "w4": {"name": "w4", "group": "Cuboid ", "definition": "random(5.5..8#0.1)", "description": "

Width of cuboid.

", "templateType": "anything", "can_override": false}, "w8": {"name": "w8", "group": "Square based pyramid", "definition": "random(3..7#1)", "description": "

One side of square base.

", "templateType": "anything", "can_override": false}, "h6": {"name": "h6", "group": "Triangular prism", "definition": "random(2..5#1)", "description": "

Height of traingle.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Cuboid ", "variables": ["w4", "d4", "h4"]}, {"name": "Triangular prism", "variables": ["w6", "h6", "d6"]}, {"name": "Cylinder", "variables": ["r7", "w7"]}, {"name": "Square based pyramid", "variables": ["h8", "w8", "d8"]}], "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": "

Calculate the $\\mathrm{Volume}$ of the following triangular prism.

\n

\n

$\\mathrm{Volume} =$[[0]]$\\mathrm{m}^3$.

", "stepsPenalty": "1", "steps": [{"type": "information", "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": "

Volume of a triangular prism:

\n

\\begin{align}
\\mathrm{Volume} &= \\mathrm{Area\\thinspace_\\triangle} \\times \\mathrm{depth} \\\\
&= \\frac{\\mathrm{base} \\times \\mathrm{height}}{2} \\times \\mathrm{depth}
\\end{align}

"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.5{w6}{h6}{d6}", "maxValue": "0.5{w6}{h6}{d6}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Aiden McCall", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1592/"}, {"name": "Megan Oliver", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/23526/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Aiden McCall", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1592/"}, {"name": "Megan Oliver", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/23526/"}]}