Function Math Trig Complex Class

CotH

"Hyperbolic Cotangent " Hyperbolic cotangent of a real or complex number. Inverse of the ACotH function.

Signature (Visual Basic / VBA)

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

Code Examples

    CotH(-2) = -1.03731472072755
    CotH(-1) = -1.31303528549933
    IsNull(CotH(0)) = True
    CotH(1) = 1.31303528549933
    CotH(2) = 1.03731472072755
    CotH(10) = 1.00000000412231
    CotH("2.3|-4.5") = "0.981815776624225|8.13525861195918E-03"
    Exponent(X) + Exponent(-X)
    --------------------------
    Exponent(X) - Exponent(-X)

Parameters

Parameter Description
vX Number whose hyperbolic cotangent 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.

Notes & Version History

Return The result is expressed in radians.
Note Microsoft named this function HCotan within their Derived Math Function help topic.