Appearance
Trig Function
Applies a trigonometric function to a double input: sin, cos, tan, asin, acos, atan, or atan2(y, x), which adds a second input x at the bottom and returns the full-circle angle of the point (x, y). Angle unit sets whether angles are in radians or degrees: the input of sin, cos and tan, and the output of the inverse functions. asin and acos of a value outside [−1, 1] give NaN.
Category: Math
Ports
| Port | Kind | Signal | Notes |
|---|---|---|---|
in | Control input | Real | |
in_b | Control input | Real | Shown when Function is atan2 |
out | Control output | Real |
Parameters
| Parameter | Type | Default | Units | Description | ID |
|---|---|---|---|---|---|
| Function | Choice: sin / cos / tan / asin / acos / atan / atan2 | sin | — | The function applied. atan2 takes y on the left input and x on the bottom input. | op |
| Angle unit | Choice: rad / deg | rad | — | Radians or degrees, for the input of sin / cos / tan and the output of asin / acos / atan / atan2. | angle_unit |