sin()

The mathLib.sin() system function returns the sine of a number whose value represents an angle that is expressed in radians.

Syntax

  mathLib.sin(numericVariable FLOAT in)
  returns (result FLOAT)
numericVariable
Input can be any variable or expression that is assignment compatible with the FLOAT type. The value represents an angle in radians.
result
A FLOAT value in the range -1 to 1.

Example

  result = mathLib.sin(myVar);

Feedback