tan method

Dimension tan (
  1. Node n
)

Calculates tangent function. Assumes radians on numbers without units. Parameters: number - a floating point number. Returns: number Example: tan(1deg) // tangent of 1 degree Output: 0.017455064928217585

Implementation

//
/// Parameters:
///   number - a floating point number.
///   Returns: number
/// Example:
///   tan(1deg) // tangent of 1 degree
///   Output: 0.017455064928217585
///
Dimension tan(Node n) => MathHelper._math(math.tan, '', n);