<-- Previous || Up || Next -->

Tangent Function
Math Trig Complex Class

Public Function Tangent( _
    ByVal vX As Variant _
    ) As Variant

Tangent of a complex or real number.
Inverse of the ATan function.

Examples:
    Tangent(-0.5) = -0.54630248984379
    Tangent(0) = 0
    Tangent(0.5) = 0.54630248984379
    Tangent(1) = 1.5574077246549
    Tangent(1.5) = 14.1014199471717
    Tangent(2) = -2.18503986326152
    Tangent(2.5) = -0.74702229723866
    Tangent(3) = -0.142546543074278
    Tangent(3.5) = 0.374585640158595
    Tangent("2.3|-4.5") = "-2.4526920983235E-04|-1.00002765174781"
See also:
    Sine Function
    Cosine Function
    ATan Function
    TanH Function
    Tan Function (Visual Basic)
vX: Number whose tangent is returned. Function returns Null if vX is Null or cannot be fixed up to a real or complex number (as defined by the ComplexStringToReals function). Complex numbers are represented within strings as "R|I" where R is the real part and I is the imaginary part.
Return: The result is expressed in radians.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.