Previous Next Edit Rename Undo Search Administration
Value = Sin ( Angle AS Float )
Computes the sine of an angle. The result lies in the range -1 to 1.
The angle is specified in radians.
DIM DegreeAngle, RadianAngle as Float
DegreeAngle = 60
RadianAngle = DegreeAngle * Pi / 180
PRINT "The sine of " ; DegreeAngle ; " degree = " ; Sin(RadianAngle)
The sine of 60 degree = 0.866025403784