Calculates the perimeter of a trapezoid.
// Returns 24const perimeter = Chalkboard.geom.trapezoidP(10, 7, 5, 2); Copy
// Returns 24const perimeter = Chalkboard.geom.trapezoidP(10, 7, 5, 2);
The first side length
The second side length
The third side length
The fourth side length
Calculates the perimeter of a trapezoid.
Example