Sin
See Also: Math Functions, Asin, Cos, Tan
Purpose
Sin returns the sine of a value.
Return Type
Syntax
(Sin( {expression} ))
What It Does
Sin returns the sine of the value of {expression}. The expression is an angle stated in radians.
Real rSine
Move (Sin(.70711)) to rSine
In this example, the sine of .70711 is moved to the real variable rSine.
Notes
-
Sin interprets
{expression}as a number of radians. To calculate the sine of a number of degrees, divide the degrees by 180 and multiply them by the value of π. -
Sin converts the parameter
{expression}to a real value and outputs a real value.