Class Rhomboid

Calculation of the properties of parallelograms


Description

The class Rhomboid calculates properties of a parallelogram.


Properties

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

Symbol

Description

 

a

Length
  b Width
 

ha

Height a
  hb Height b
 

A

Area
  P Perimeter
 

e

Long diagonal
  f Short diagonal
alpha

α

Angle Alpha
beta
β
Angle Beta

Syntax

Object = Rhomboid ("arg names", arguments)

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


Examples

Calculation of the properties from the side lengths \(a, b \) and the angle \(α \).


Calculation of the area \(A \) from \(a, b \) and \(α \).


The following example displays the area \(A \) of the object \(a \).