Syntax: Tan ( angleInRadians )
numberAny number representing the size of an angle measured in radians.
Data type returned: Number
Returns the tangent of the specified angle.
The tangent of an angle can also be obtained by dividing the sine of the angle by its cosine. In any right triangle, the tangent of the two non-right angles can be obtained by dividing the length of the side opposite the angle by the length of the adjacent side.
Tan (Pi / 6)
Tan (Radians (45))