Skip to content

Trigonometric Operation

Applies standard and hyperbolic trigonometric functions to a numeric input. Supports sine, cosine, tangent, their inverse counterparts, and hyperbolic variants. You can choose whether the input (and inverse outputs) are handled in degrees or radians.
Preview

Usage

Use this node when you need trigonometric calculations within a workflow, such as converting angles to sine/cosine values, computing tangents, or retrieving angles from ratios via inverse functions. Set use_degrees to match your angle convention. For inverse functions, the result will be returned in degrees if use_degrees is enabled.

Inputs

FieldRequiredTypeDescriptionExample
valueTrueFLOATThe numeric input for the selected operation. Interpreted as degrees for sin/cos/tan when use_degrees is true; otherwise radians. For asin/acos, the value must be within [-1, 1].30.0
operationTrueCHOICEThe trigonometric function to apply. Options: sin, cos, tan, asin, acos, atan, sinh, cosh, tanh.sin
use_degreesTrueBOOLEANIf true, sin/cos/tan interpret input in degrees and inverse functions (asin/acos/atan) return results in degrees. If false, values are treated as radians and inverse results are in radians.true

Outputs

FieldTypeDescriptionExample
resultFLOATThe computed result of the selected trigonometric operation. For inverse functions, units depend on use_degrees.0.5

Important Notes

  • Angle units: When use_degrees is true, input to sin/cos/tan is treated as degrees and inverse outputs are returned in degrees; otherwise all are in radians.
  • Domain checks: asin and acos require the input to be within [-1, 1]. Out-of-range inputs return 0.0.
  • Tangent behavior: tan near odd multiples of 90° (or π/2 radians) can produce very large magnitudes due to asymptotes.
  • Hyperbolic functions: sinh, cosh, tanh do not use angle unit conversions.
  • Input range: The input UI range is limited to [-360, 360] with a step of 0.001.

Troubleshooting

  • Result is 0.0 unexpectedly: For asin/acos, ensure the input is within [-1, 1].
  • Unexpected magnitude for tan: Check that the angle is not near 90° + k180° (or π/2 + kπ). Slight adjustments may stabilize the result.
  • Wrong units in results: Verify the use_degrees setting matches your intended input and output units.
  • Inverse returns degrees when radians expected: Set use_degrees to false to obtain inverse results in radians.