Liberty BASIC Help Online |
---|

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

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/