Function Reference
Tan
Calculates the tangent of a number.
Parameters
| expression |
Value in radians. |
Return Value
Returns the trigonometric tangent of number.
Remarks
1° = pi / 180 radians.
Note that Tan is "infinite" for ... -3PI/2, -PI/2, PI/2, 3PI/2, 5PI/2, ... and tends to return 1.63317787283838e+016 for such multiples of Pi-halves.
Related
Sin, Cos, ASin, ACos, ATan
Example
Local $pi = 3.14159265358979
Local $x = Tan($pi / 4)
Local $degToRad = $pi / 180
Local $y = Tan(90 * $degToRad) ;tangent of 90°