the formula to find the area of a trapezium code example Example: area of trapezium Area of a trapezium (trapezoid) = (Base1 + Base2) / 2 * height