SIN

BASin

SIN SINe

Function

SIN gives the sine of an angle.

How to use SIN

SIN is followed by a numeric value, for example

80 LET x=SIN y

A expression must be enclosed in brackets. The value following SIN is the angle in radians, and SIN returns the sine of the angle. Degrees can be converted into radians by multiplying by PI/180.

Note that SIN returns a positive value for angles between 0 and 180 degrees, and a negative value for angles between 180 and 360 degrees.

Example

The command

PRINT SIN (30*PI/180)

displays 0.5, the sine of 30 degrees.

Format

  • SIN num-const
  • SIN num-var
  • SIN (num-expr)

See also

Chapter 10.