Class Trapez

Calculation of the properties of Trapeze


Description

The trapeze class calculates properties of trapeze.


Properties

The following properties can be queried as a result or passed as an argument.

Symbols

Description

 

a

Length of side a
  b Length of side b
 

c

Length of side c
  d Length of side d
 

e

Diagonal e
  f Diagonal f
 

h

Height
  m Mean width
 

A

Area
  P Perimeter
alpha

α

Angle Alpha
beta
β
Angle Beta
gamma

γ

Angle Gamma
delta
δ
Angle Delta

Syntax

Object = Trapez ("arg names", arguments)

Value = Trapez ("get -> arg names", arguments)


Example

Calculation of the properties of the side lengths \(a \) and \(b \) and the height \(h \).


The following example displays the diagonal \(e \) from the object \(a \).


Calculate the diagonal \(e \) from the side lengths \(a \) and \(b \) and the height \(h \).