Jump to content

Futurebasic/Language/Reference/sin

From Wikibooks, open books for an open world

Syntax

[edit | edit source]

theSine# = SIN(expr)

Description

[edit | edit source]

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.

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

[edit | edit source]

ASIN; COS; TAN; USR _sine