angle | The REAL radian value for which to find the sine. |
Return: | SIN returns a single REAL value. |
The SIN function returns the sine of the angle.
Example:
Rad2Deg := 57.295779513082; //number of degrees in a radian
Deg2Rad := 0.0174532925199; //number of radians in a degree
Angle45 := 45 * Deg2Rad; //translate 45 degrees into radians
Sine45 := SIN(Angle45); //get sine of the 45 degree angle
OUTPUT(Sine45);