Liberty BASIC Help Online

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


Copyright (C) 2003 Shoptalk Systems
Liberty BASIC - http://www.libertybasic.com/