
Publication GMLC-5.2 - November 1999
645
The argument may be any floating point value or expression in radians.
The value of the Sine function is always from –1 to +1, inclusive.
For example, the following expression is evaluated as 0.5 since the sine of
0.5235 radians (30°) is 0.5.
Sine(0.5235)
To convert the argument of the Sine 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 sine of 30° is 0.5.
Sine(30 * Pi / 180)
Tangent
The value of the Tangent function is the tangent of the argument angle (in
radians), as shown below.
–
π
–1
π
Argument
+1
Kommentare zu diesen Handbüchern