syntax
- tan(angle)
definition
tan(angle) results in the tangens of data item angle.
description
Data item angle need to be expressed in the unit radian (radiaal), the SI unit for angles.
applies to
Data item angle with float32 or float64 value type
since version
5.18
example
attribute<float64> Angle_rad (ADomain) := Angle * pi() / 180.0;
attribute<float64> tanAngle_rad (ADomain) := tan(Angle_rad);
Angle(°) | Angle_rad(rad) | tanAngle_radA | |
0 | 0 | 1 | |
30 | 0.52 | 0.58 | |
45 | 0.79 | 1 | |
420 | 7.33 | 1.73 | |
null | null | null |