Challenge: Calculating Area of a Trapezium
Swipe to start coding
A trapezium is a four-sided shape with at least one pair of opposite sides that are parallel.
You are required to calculate the area of the trapezium shown in the diagram.
The formula for calculating the area of a trapezium is:
Where:
- a = 13.
- b = 21.
- h = 10.
Calculate the area of the trapezium and display the result in the console.
Solution
Thanks for your feedback!
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 1.35
Challenge: Calculating Area of a Trapezium
Swipe to show menu
Swipe to start coding
A trapezium is a four-sided shape with at least one pair of opposite sides that are parallel.
You are required to calculate the area of the trapezium shown in the diagram.
The formula for calculating the area of a trapezium is:
Where:
- a = 13.
- b = 21.
- h = 10.
Calculate the area of the trapezium and display the result in the console.
Solution
Thanks for your feedback!
single