Calculates the tangent of an angle.
Tan ( n )
Argument |
Description |
---|---|
n |
The angle (in radians) for which you want the tangent |
Double. Returns the tangent of n if it succeeds and –1 if an error occurs.
Both these expressions return 0:
Tan(0) Tan(Pi(1))
This expression returns 1.55741:
Tan(1)