Calculation of the properties of right-angled triangles
The class Triangle calculates properties of a right triangle.
The following properties can be queried as a result or passed as an argument.
Symbols
Description
a Leg a b Leg b c Hypotenuse A Area a2 B Area b2 C Area c2 q Hypotenuse sector p Hypotenuse sector h Height
Object = Triangle ("arg names", arguments)
Value = Triangle ("get -> arg names", arguments)
Calculation of the properties of the side lengths \(a \) and \(b \).
Calculation of the height \(h \) from the side lengths \(a \) and \(b \).
The following example displays the height \(h \) from the object \(x \).