Tan

The tangent function

fun tan(radians)

Parameters

Discussion

The argument of tan is assumed to be in radians. To use degrees or another unit, you can specify it with the value:

tan(0)
tan(pi/4)
tan(135 degrees)
0
1
-1

tan is valid for all finite numbers except where radians is an odd multiple of π/2

Didn't find what you were looking for?

Contact Us