A trapezoid (called a trapezium in some countries) is a four-sided polygon, or quadrilateral, with at least one pair of parallel sides. These parallel sides are called the bases, while the other two sides are the legs. Trapezoids are used in geometry to represent non-regular quadrilaterals with symmetrical or asymmetrical features.
The average of the two bases, representing the length of the midsegment:
\[ q = \frac{a + b}{2} \]
where:
The area is calculated by multiplying the height with the average of the two bases:
\[ A = \frac{h \times (a + b)}{2} = hq \]
where: