Calculates the area of a trapezoid.
// Returns 42.5const area = Chalkboard.geom.trapezoidA(10, 7, 5); Copy
// Returns 42.5const area = Chalkboard.geom.trapezoidA(10, 7, 5);
The first base
The second base
The height
Calculates the area of a trapezoid.
Example