// Numbas version: exam_results_page_options {"name": "Johan's copy of john's copy of Calculate the areas of polygons_oppervlakte vlakke figuren", "extensions": [], "custom_part_types": [], "resources": [["question-resources/trapezium.svg", "/srv/numbas/media/question-resources/trapezium.svg"], ["question-resources/trangle.svg", "/srv/numbas/media/question-resources/trangle.svg"], ["question-resources/parallelogram.svg", "/srv/numbas/media/question-resources/parallelogram.svg"], ["question-resources/Parallelogram_area_animated.gif", "/srv/numbas/media/question-resources/Parallelogram_area_animated.gif"], ["question-resources/rectangle_zISmvoz.svg", "/srv/numbas/media/question-resources/rectangle_zISmvoz.svg"], ["question-resources/hardertrapezium_8GqMwOo.svg", "/srv/numbas/media/question-resources/hardertrapezium_8GqMwOo.svg"], ["question-resources/Trap_advice.svg", "/srv/numbas/media/question-resources/Trap_advice.svg"], ["question-resources/Triangle_advice_lD6eKvD.svg", "/srv/numbas/media/question-resources/Triangle_advice_lD6eKvD.svg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"ungrouped_variables": [], "functions": {}, "variable_groups": [{"name": "Parallelogram", "variables": ["h1", "w1", "wh11", "wh11dp"]}, {"name": "Triangle", "variables": ["h2", "w2", "wh22", "wh22dp"]}, {"name": "'Harder' trapezium", "variables": ["h5", "w5a", "w5b", "wabh5dp", "wabh5"]}, {"name": "Rectangle", "variables": ["w0", "h0", "wh00", "wh00dp"]}], "extensions": [], "tags": ["area", "Area", "area of a parallelogram", "area of a rectangle", "area of a right-angled triangle", "area of a trapezium", "parallelogram", "Rectangle", "rectangle", "right - angled triangle", "shapes", "taxonomy", "trapezium"], "variables": {"wabh5": {"description": "

The Area of a trapezium using the three terms, w5a, w5b and h5, such that a condition can be satisfied.

", "group": "'Harder' trapezium", "templateType": "anything", "name": "wabh5", "definition": "precround((w5a+w5b)*(h5)/2, 5)"}, "wh11": {"description": "

The product of the two terms, w1 and h1, such that a condition can be satisfied.

", "group": "Parallelogram", "templateType": "anything", "name": "wh11", "definition": "precround(w1*h1,3)"}, "h5": {"description": "

Height of the trapezium.

", "group": "'Harder' trapezium", "templateType": "anything", "name": "h5", "definition": "random(2..5#0.1)"}, "wh22": {"description": "

The Area of a triangle using the two terms, w2 and h2, such that a condition can be satisfied.

", "group": "Triangle", "templateType": "anything", "name": "wh22", "definition": "precround(0.5*w2*h2,4)"}, "wabh5dp": {"description": "

The Area of a trapezium using the three terms, w5a, w5b and h5 to one decimal place, such that a condition can be satisfied.

", "group": "'Harder' trapezium", "templateType": "anything", "name": "wabh5dp", "definition": "precround((w5a+w5b)*(h5)/2, 1)"}, "wh00": {"description": "

The product of the two terms, w0 and h0, such that a condition can be satisfied.

", "group": "Rectangle", "templateType": "anything", "name": "wh00", "definition": "precround(w0*h0,3)"}, "wh11dp": {"description": "

The product of the two terms, w1 and h1, to one decimal place such that a condition can be satisfied.

", "group": "Parallelogram", "templateType": "anything", "name": "wh11dp", "definition": "precround(w1*h1, 1)"}, "w5a": {"description": "

The top parallel side in the trapezium.

", "group": "'Harder' trapezium", "templateType": "anything", "name": "w5a", "definition": "random(5..6.5#0.1)"}, "w5b": {"description": "

The bottom parallel side in the trapezium.

", "group": "'Harder' trapezium", "templateType": "anything", "name": "w5b", "definition": "random(7.5..10#0.1)"}, "wh00dp": {"description": "

The product of the two terms, w0 and h0, to one decimal place, such that a condition can be satisfied.

", "group": "Rectangle", "templateType": "anything", "name": "wh00dp", "definition": "precround(w0*h0,1)"}, "h0": {"description": "

Height of the rectangle.

", "group": "Rectangle", "templateType": "anything", "name": "h0", "definition": "random(1..5#0.1)"}, "w0": {"description": "

Width of the rectangle.

", "group": "Rectangle", "templateType": "anything", "name": "w0", "definition": "random(5..10#0.1)"}, "h2": {"description": "

Height of the triangle.

", "group": "Triangle", "templateType": "anything", "name": "h2", "definition": "random(1..4.5#0.1)"}, "h1": {"description": "

The height of the parallelogram

", "group": "Parallelogram", "templateType": "anything", "name": "h1", "definition": "random(1..4.5#0.1)"}, "w2": {"description": "

Base of the triangle.

", "group": "Triangle", "templateType": "anything", "name": "w2", "definition": "random(5..10#0.1)"}, "wh22dp": {"description": "

The Area of a triangle using the two terms, w2 and h2 to one decimal place, such that a condition can be satisfied.

", "group": "Triangle", "templateType": "anything", "name": "wh22dp", "definition": "precround(0.5*w2*h2, 1)"}, "w1": {"description": "

The width of the parallelogram.

", "group": "Parallelogram", "templateType": "anything", "name": "w1", "definition": "random(5..10#0.1)"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "advice": "

a)

\n

The area of a rectangle is calculated using the formula

\n

\\[\\mathrm{Area} = \\mathrm{base} \\times \\mathrm{height}\\text{.}\\]

\n

We have a base of $\\var{w0}$m and a height $\\var{h0}$m, therefore

\n

\\begin{align}
\\mathrm{Area} &= \\mathrm{base} \\times \\mathrm{height} \\\\
&= \\var{w0} \\times \\var{h0} \\\\ &= \\var{w0*h0} \\\\
&= \\var{dpformat(w0*h0,1)}\\, \\mathrm{m}^2 \\quad \\text{to 1 d.p.} \\\\
\\end{align}

\n

\\begin{align}
\\mathrm{Area} &= \\mathrm{base} \\times \\mathrm{height} \\\\
&= \\var{w0} \\times \\var{h0} \\\\
&= \\var{dpformat(w0*h0,1)}\\, \\mathrm{m}^2 \\quad \\text{to 1 d.p.} \\\\
\\end{align}

\n

b)

\n

The parallelogram is just a slanted rectangle:

\n

\n

\"Parallelogram\"

\n
Animation by Picknick.
\n

\n

Therefore, the area of a parallelogram is calculated using the formula

\n

\\[\\mathrm{Area} = \\mathrm{base} \\times \\mathrm{height}.\\]

\n

We have a base $\\var{w1}$m and perpendicular height $\\var{h1}$m.

\n

\\begin{align}
\\mathrm{Area} &= \\mathrm{base} \\times \\mathrm{height} \\\\
&= \\var{w1} \\times \\var{h1} \\\\ &= \\var{{w1}{h1}}\\, \\mathrm{m}^2 \\\\  
&= \\var{dpformat({w1}{h1},1)}\\, \\mathrm{m}^2 \\quad \\text{to 1 d.p.} \\\\
\\end{align}

\n

\\begin{align}
\\mathrm{Area} &= \\mathrm{base} \\times \\mathrm{height} \\\\
&= \\var{w1} \\times \\var{h1} \\\\
&= \\var{dpformat({w1}{h1},1)}\\, \\mathrm{m}^2 \\quad \\text{to 1 d.p.} \\\\
\\end{align}

\n

c)

\n

The area of a triangle is calculated using the formula

\n

\\[\\mathrm{Area} = \\frac{\\mathrm{base} \\times \\mathrm{height}}{2}.\\]

\n

Note that the triangle is half of a rectangle:

\n

\n

Our triangle has a base $\\var{w2}$m and a height $\\var{h2}$m, therefore

\n

\\begin{align} \\mathrm{Area} &= \\frac{1}{2} \\times \\mathrm{base} \\times \\mathrm{height} \\\\ 
&= \\frac{1}{2} \\times \\var{w2} \\times \\var{h2} \\\\
&= \\var{0.5*w2*h2}\\, \\mathrm{m}^2 \\\\
&= \\var{dpformat(0.5*w2*h2, 1)}\\, \\mathrm{m}^2 \\quad \\text{to 1 d.p.} \\\\
\\end{align}

\n

\\begin{align} \\mathrm{Area} &= \\frac{1}{2} \\times \\mathrm{base} \\times \\mathrm{height} \\\\
&= \\frac{1}{2} \\times \\var{w2} \\times \\var{h2} \\\\
&= \\var{dpformat(0.5*w2*h2, 1)}\\, \\mathrm{m}^2 \\quad \\text{to 1 d.p.} \\\\
\\end{align}

\n

d)

\n

\n

A trapezium can be interpreted as half of a parallelogram, this is shown below:

\n

\n

As we only want the area of one half of this shape, the area is half of

\n

\\[\\mathrm{area} = (a+b) \\times \\mathrm{height}\\text{,}\\]

\n

with ${a} = \\var{w5a}$m, ${b} = \\var{w5b}$m, and height $\\var{h5}$m.

\n

\\begin{align}
\\mathrm{Area} &= \\frac{(a+b)}{2} \\times \\mathrm{height} \\\\
&= \\frac{(\\var{w5a}+\\var{w5b})}{2} \\times \\var{h5} \\\\
&= \\var{(w5a+w5b)*0.5} \\times \\var{h5} \\\\
&= \\var{(w5a+w5b)*(h5)/2}\\, \\mathrm{m}^2 \\\\
&= \\var{dpformat((w5a+w5b)*(h5)/2, 1)}\\, \\mathrm{m}^2 \\quad \\text{to 1 d.p.}  
\\end{align}

\n

\\begin{align}
\\mathrm{Area} &= \\frac{(a+b)}{2} \\times \\mathrm{height} \\\\
&= \\frac{(\\var{w5a}+\\var{w5b})}{2} \\times \\var{h5} \\\\
&= \\var{(w5a+w5b)*0.5} \\times \\var{h5} \\\\
&= \\var{dpformat((w5a+w5b)*(h5)/2, 1)}\\, \\mathrm{m}^2 \\quad \\text{to 1 d.p.}  
\\end{align}

", "rulesets": {}, "preamble": {"js": "", "css": ""}, "statement": "

Calculate the area of the following shapes.

", "parts": [{"type": "gapfill", "stepsPenalty": "1", "variableReplacementStrategy": "originalfirst", "steps": [{"type": "information", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "prompt": "

The formula for the area of a rectangle is:

\n

\\[\\mathrm{Area} = \\mathrm{base} \\times \\mathrm{height}.\\]

", "showFeedbackIcon": true}], "gaps": [{"type": "numberentry", "variableReplacements": [], "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "precisionPartialCredit": 0, "precision": "1", "marks": "2", "maxValue": "{h0}{w0}", "strictPrecision": false, "mustBeReduced": false, "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showPrecisionHint": false, "minValue": "{h0}{w0}", "showCorrectAnswer": true, "scripts": {}, "mustBeReducedPC": 0, "precisionType": "dp", "correctAnswerFraction": false, "showFeedbackIcon": true}], "scripts": {}, "showCorrectAnswer": true, "variableReplacements": [], "marks": 0, "prompt": "

\n

The area of the rectangle is [[0]] $\\mathrm{m^2}$.      Round your answer to 1 decimal place.

", "showFeedbackIcon": true}, {"type": "gapfill", "stepsPenalty": "1", "variableReplacementStrategy": "originalfirst", "steps": [{"type": "information", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "prompt": "

The formula for the area of a parallelogram is:

\n

\\[\\mathrm{Area} = \\mathrm{base} \\times \\mathrm{height}.\\]

", "showFeedbackIcon": true}], "gaps": [{"type": "numberentry", "variableReplacements": [], "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "precisionPartialCredit": 0, "precision": "1", "marks": "2", "maxValue": "{h1}*{w1} + 0.01", "strictPrecision": false, "mustBeReduced": false, "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showPrecisionHint": false, "minValue": "{h1}*{w1} - 0.01", "showCorrectAnswer": true, "scripts": {}, "mustBeReducedPC": 0, "precisionType": "dp", "correctAnswerFraction": false, "showFeedbackIcon": true}], "scripts": {}, "showCorrectAnswer": true, "variableReplacements": [], "marks": 0, "prompt": "

\n

The area of the parallelogram is [[0]] $\\mathrm{m^2}$.       Round your answer to 1 decimal place.

", "showFeedbackIcon": true}, {"type": "gapfill", "stepsPenalty": "1", "variableReplacementStrategy": "originalfirst", "steps": [{"type": "information", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "prompt": "

The formula for the area of a triangle is:

\n

\\[\\mathrm{Area} = \\frac{\\mathrm{base} \\times \\mathrm{height}}{2}.\\]

", "showFeedbackIcon": true}], "gaps": [{"type": "numberentry", "variableReplacements": [], "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "precisionPartialCredit": 0, "precision": "1", "marks": "2", "maxValue": "{w2}{h2}*0.5 + 0.01", "strictPrecision": false, "mustBeReduced": false, "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showPrecisionHint": false, "minValue": "{w2}{h2}*0.5 - 0.01", "showCorrectAnswer": true, "scripts": {}, "mustBeReducedPC": 0, "precisionType": "dp", "correctAnswerFraction": false, "showFeedbackIcon": true}], "scripts": {}, "showCorrectAnswer": true, "variableReplacements": [], "marks": 0, "prompt": "

\n

The area of the triangle is [[0]] $\\mathrm{m^2}$      Round your answer to 1 decimal place.

", "showFeedbackIcon": true}, {"type": "gapfill", "stepsPenalty": "1", "variableReplacementStrategy": "originalfirst", "steps": [{"type": "information", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "prompt": "

The formula for the area of a trapezium is:

\n

\\[\\mathrm{Area} = \\frac{(a+b)}{2}\\times \\mathrm{height}.\\]

", "showFeedbackIcon": true}], "gaps": [{"type": "numberentry", "variableReplacements": [], "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "precisionPartialCredit": 0, "precision": "1", "marks": "2", "maxValue": "0.5{w5a+w5b}{h5} + 0.01", "strictPrecision": false, "mustBeReduced": false, "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "showPrecisionHint": false, "minValue": "0.5{w5a+w5b}{h5} - 0.01", "showCorrectAnswer": true, "scripts": {}, "mustBeReducedPC": 0, "precisionType": "dp", "correctAnswerFraction": false, "showFeedbackIcon": true}], "scripts": {}, "showCorrectAnswer": true, "variableReplacements": [], "marks": 0, "prompt": "

\n

The area of the trapezium is [[0]] $\\mathrm{m^2}$.    Round your answer to 1 decimal place.

", "showFeedbackIcon": true}], "name": "Johan's copy of john's copy of Calculate the areas of polygons_oppervlakte vlakke figuren", "metadata": {"description": "

This question tests the students ability to calculate the area of different 2D shapes given the units and measurements required. The formulae for the areas are available if required but students are encouraged to try to remember them themselves.

\n

The shapes are: a rectangle, a parallelogram, a right-angled triangle, and a trapezium.

\n

Author of gif: Picknick
https://commons.wikimedia.org/wiki/File:Parallelogram_area_animated.gif
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "contributors": [{"name": "Johan Maertens", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1301/"}]}]}], "contributors": [{"name": "Johan Maertens", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1301/"}]}