(tan angle)


Determine the tangent of an angle.


This function returns the tangent of an angle. The angle must be in radians. The result is a real number.

Examples

Code Returns
(tan 0) 0.00000
(tan (/ pi 4)) 1.00000
(tan pi) 0.00000

Tell me about...

(atan number1 [number2])

(cos angle)

(sin angle)

LISP Compatibility

pi

Programming Overview of LISP (LISt Processing) Language