Trigonometric Operation¶
Applies standard and hyperbolic trigonometric functions to a single numeric input. Supports sine, cosine, tangent, their inverse functions, and hyperbolic variants. Can interpret inputs as degrees or radians and returns a single float result.

Usage¶
Use this node to compute trigonometric values in math-heavy flows, geometry calculations, signal processing, or angle conversions. Set use_degrees to control whether the input value is interpreted as degrees (True) or radians (False). For inverse functions, if use_degrees is True, the result is returned in degrees; otherwise, the result is in radians.
Inputs¶
| Field | Required | Type | Description | Example |
|---|---|---|---|---|
| value | True | FLOAT | The numeric input for the selected trigonometric operation. Interpreted as degrees if use_degrees is True, otherwise as radians. For asin/acos, the effective input must be within [-1, 1]. | 30.0 |
| operation | True | CHOICE | The trigonometric function to apply. Options: sin, cos, tan, asin, acos, atan, sinh, cosh, tanh. | sin |
| use_degrees | True | BOOLEAN | If True, value is treated as degrees for sin/cos/tan and inverse results (asin/acos/atan) are returned in degrees. If False, value is treated as radians for sin/cos/tan and inverse results are returned in radians. | True |
Outputs¶
| Field | Type | Description | Example |
|---|---|---|---|
| result | FLOAT | The computed trigonometric result as a floating-point number. | 0.5 |
Important Notes¶
- Input domain for asin/acos: The effective input to asin/acos must be within [-1, 1]. If out of range, the node returns 0.0.
- Units handling: sin/cos/tan use the input units based on use_degrees. For inverse functions (asin/acos/atan), the output unit follows use_degrees (degrees if True, radians if False).
- Hyperbolic functions: sinh/cosh/tanh ignore degree settings; they always treat value as a unitless real number.
- Numerical extremes: tan near odd multiples of 90° (or π/2 radians) can produce very large magnitudes due to asymptotes.
- Precision: Floating-point rounding can cause slight deviations from expected exact values (e.g., cos(90°) may yield a very small non-zero number).
Troubleshooting¶
- Result is 0.0 for asin/acos: Ensure the effective input is within [-1, 1]. Adjust value or check use_degrees so the domain is valid.
- Unexpected magnitude from tan: Inputs near 90° + k·180° (or π/2 + k·π radians) cause tan to approach infinity. Slightly adjust the angle away from the asymptote.
- Output unit confusion: If inverse results appear unexpected, verify use_degrees. True returns inverse results in degrees; False returns them in radians.
- Very small residuals instead of exact zeros: This is normal floating-point behavior. Consider rounding the result if exact zeros are required.