Liberty BASIC Help Online |
COS( n )
COS( n )
Description:
This function returns the cosine of the angle n. The angle n should be expressed in radians.
Usage:
for c = 1 to 45
print "The cosine of "; c; " is "; cos(c)
next c
Tip:
There are 2 * pi radians in a full circle of 360 degrees. A formula to convert degrees to radians is: radians = degrees divided by 57.29577951
Copyright (C) 2003 Shoptalk Systems
Liberty BASIC - http://www.libertybasic.com/