Class Pipe
Calculation of the properties of hollow cylinders
Description
The class Pipe calculates properties of a hollow cylinder.
Properties
The following properties can be queried as a result or passed as an argument.
Symbols |
Description |
||
Längen | |||
![]() |
d | Outside diameter | |
![]() |
r | Outside radius | |
![]() |
di | Inside diameter | |
![]() |
ri | Inside radius | |
![]() |
k | Donut width | |
![]() |
h | Height of the Cylinder | |
Umfang | |||
![]() |
P | Outside perimeter | |
![]() |
Pi | Inside perimeter | |
Basis-Flächen | |||
![]() |
A | Total area of the circle | |
![]() |
Ai | Inside area | |
![]() |
Ad | Area of the donut | |
Kreisring Oberflächen | |||
![]() |
Sd | Outside sureface | |
![]() |
Si | Inside sureface | |
![]() |
S | Total sureface include top and base | |
Volumen | |||
![]() |
Vd | Volume of the donut | |
![]() |
Vi | Inside volume | |
![]() |
V | Total volume |
Syntax
Object = Pipe ("arg names", arguments)
Value = Pipe ("get -> arg names", arguments)
Example
Calculation of the properties with the outer diameter \(d \) the inner diameter \(di \) and the height \(h \).
The following example displays the volume \(V \) from the object \(a \).
Calculation of the volume \(Vd \) (volume of the ring).