SIN
(Function)
Obtains a sine.
SIN (<Expression>)
Obtains the sine value of the value in <Expression>.
Designate the unit of <Expression> in degrees.
If <Expression> includes a double precision real numeral, the obtained value becomes double precision. Otherwise, a single precision value is obtained.
If an argument is entered in radians, add RAD after the constant.
The SIN function receives an angle as an argument and the ratio of the 2 sides of a right triangle including the right angle. The 2 sides mentioned here are the opposite side to the designated angle and the hypotenuse side. The ratio of the 2 sides is the value of the opposite side length divided by the hypotenuse side length. The return value ranges from -1 to 1. To convert degrees to radians, multiply the degrees by π/180. To convert radians to degrees, multiply the radians by 180/π .
DEFSNG lf1, lf2, lf3, lf4, lf5
|
|
lf1 = SIN(0.78525RAD)
|
'Assigns the sine value of 0.78525 (Radian) to lf1.
|
lf2 = SIN(lf4)
|
'Assigns the sine value of lf4 to lf2.
|
lf3 = SIN(45) * lf5
|
'Assigns the sine value of 45 degrees multiplied by
'lf5 to lf3.
|