// Numbas version: exam_results_page_options {"name": "GA7 - Volume of a Trapezoidal Prism", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "GA7 - Volume of a Trapezoidal Prism", "tags": [], "metadata": {"description": "

Find the volume of a prism with a trapezium as a cross section from a diagram.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Calculate the volume of this (all lengths are in $cm$):

\n

{geogebra_applet('https://www.geogebra.org/m/qvcktek2',[basew: basew, topw: topw, h: h, l: l])}

", "advice": "

In order to work out the volume of a prism you need to work out the cross sectional area first. In this question the cross section is a trapezium. Find the area of a trapezium,

\n

\\begin{align} \\frac{\\var{basew}+\\var{topw}}{2}\\times \\var{h}  = \\var{traparea} cm^2 \\end{align}

\n

Then to calculate the volume you times the cross-sectional area by the length,

\n

\\begin{align} \\var{traparea} \\times \\var{l} = \\var{answer}cm^3\\end{align}.

\n

\n

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

", "rulesets": {}, "extensions": ["geogebra"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"basew": {"name": "basew", "group": "Ungrouped variables", "definition": "random(12 .. 20#2)", "description": "", "templateType": "randrange", "can_override": false}, "topw": {"name": "topw", "group": "Ungrouped variables", "definition": "random(4 .. 10#2)", "description": "", "templateType": "randrange", "can_override": false}, "h": {"name": "h", "group": "Ungrouped variables", "definition": "random(4 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "l": {"name": "l", "group": "Ungrouped variables", "definition": "random(8 .. 20#1)", "description": "", "templateType": "randrange", "can_override": false}, "answer": {"name": "answer", "group": "Ungrouped variables", "definition": "((topw+basew)/2)*h*l", "description": "", "templateType": "anything", "can_override": false}, "traparea": {"name": "traparea", "group": "Ungrouped variables", "definition": "(basew+topw)/2*h", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["basew", "topw", "h", "l", "answer", "traparea"], "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": "

[[0]]$cm^3$

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "Volume", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "answer", "maxValue": "answer", "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": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}]}]}], "contributors": [{"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}]}