Sin
Trigonometric functions sin(e)
syntax
- sin(angle)
definition
sin(angle) results in the sine of Data item angle.
description
data item angle needs to be expressed in the Unit radian, 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> sinAngle_rad (ADomain) := sin(Angle_rad);
| Angle(°) | Angle_rad(rad) | sinAngle_rad |
|---|---|---|
| 0 | 0 | 0 |
| 30 | 0.52 | 0.5 |
| 45 | 0.79 | 0.71 |
| 420 | 7.33 | 0.87 |
| null | null | null |
ADomain, nr of rows = 5