Reference Manual Owner's manual
Publication GMLC-5.2 - November 1999
644 Mathematical Functions
The argument can be any floating point value or expression in radians.
The value of the Cosine function is always from –1 to +1, inclusive.
For example, the following expression is evaluated as 0.5 since the cosine
of 1.047 radians (60°) is 0.5.
Cosine(1.047)
To convert the argument of the Cosine function from degrees to radians,
multiply by
π
/
180
. For example, the following expression is evaluated as
0.5 (assuming the user constant Pi has been defined as the value of
π
)
since the cosine of 60° is 0.5.
Cosine(60 * Pi / 180)
Sine
The value of the Sine function is the sine of the argument angle (in
radians), as shown below.
–
π
–1
π
Argument
+1