Liberty BASIC Help Online

COS( n )
COS( n )
This function returns the cosine of the angle n.  The angle n should be expressed in radians.
  for c = 1 to 45
    print "The cosine of "; c; " is "; cos(c)
  next c
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
Note:  See also SIN( ) and TAN( )

Copyright (C) 2003 Shoptalk Systems
Liberty BASIC -