Sin

Sin returns the value of the sine of an angle expressed in degrees, radians, or grades, depending on adxmda. The type of the result is Double.

Syntax

sin(value)

Example

# This function converts polar coordinates to cartesian coordinatesFunc CONVERT_TO_CARTESIAN(ANGLE_VALUE,DISTANCE_VALUE, X,Y)Value Double ANGLE_VALUE,DISTANCE_VALUEVariable Double X,YX=DISTANCE_VALUE*cos(ANGLE_VALUE)Y=DISTANCE_VALUE*sin(ANGLE_VALUE)End

See also

cos, tan, asin, acos, atan, atan2.