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

Find the volume of a semicylinder 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/vdbvgwkf',[height: height,radius: radius])}

", "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 semi-circle. Find the area of a circle and then half it.

\n

The area of a semi-circle is given by:

\n

\\begin{align} \\frac{\\pi\\times r^2}{2}  \\end{align}

\n

where $r$ is the radius of the circle.

\n

\\begin{align} \\frac{\\pi\\times\\var{radius}^2}{2}  = \\var{precround(semiarea,2)}... \\quad  cm^2 \\end{align}

\n

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

\n

\\begin{align} \\frac{\\pi\\times r^2}{2} \\times l  \\end{align}

\n

\\begin{align} \\var{precround(semiarea,2)}... \\times \\var{height} = \\var{precround(answer,2)}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": {"height": {"name": "height", "group": "Ungrouped variables", "definition": "random(8 .. 20#1)", "description": "", "templateType": "randrange", "can_override": false}, "radius": {"name": "radius", "group": "Ungrouped variables", "definition": "random(4 .. 7#0.5)", "description": "", "templateType": "randrange", "can_override": false}, "answer": {"name": "answer", "group": "Ungrouped variables", "definition": "(pi*radius^2)*height/2", "description": "", "templateType": "anything", "can_override": false}, "semiarea": {"name": "semiarea", "group": "Ungrouped variables", "definition": "pi*radius^2/2", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["height", "radius", "answer", "semiarea"], "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": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Lauren Desoysa", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21504/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}]}]}], "contributors": [{"name": "Lauren Desoysa", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21504/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}]}