NAME

sin - trigonometric sine function

SYNOPSIS

v = sin(NumExpr)

DESCRIPTION

Sin returns the trigonometric sine of its argument.  The argument may be any numeric expression.  Its value is assumed to be the radian measure of the angle whose sine is to be returned. 

EXAMPLE

The program
	pi = 3.14159265
	degrees = 30
	radians = degrees * pi / 180
	print sin(radians)
produces
	 .4999999609992543 
This example calculates the sine of 30 degrees.  Note that the degree measure of the angle is converted to radian measure by multiplying by pi/180 before calling the sin function. 

SEE ALSO

cos, tan

from The Basmark QuickBASIC Programmerís Manual by Lawrence Leinweber