< Futurebasic < Language < Reference
SIN
Syntax
theSine# = SIN(expr)
Description
Returns the sine of expr
, where expr
is given in radians. The returned value will be in the range -1 to +1. SIN
always returns a double-precision result.
Note
To find the sine of an angle degAngle
which is given in degrees, use the following:
theSine# = SIN(degAngle * pi# / 180)
where pi#
equals 3.14159265359
See Also
ASIN; COS; TAN; USR _sine
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.