**Public Function TanH( _
ByVal vX As Variant _
) As Variant**

**"Hyperbolic Tangent" **

Hyperbolic tangent of a real or complex number.

Inverse of the ATanH function.

**Examples:** TanH(-1) = -0.761594155955765
TanH(-0.5) = -0.46211715726001
TanH(0) = 0
TanH(0.5) = 0.46211715726001
TanH(1) = 0.761594155955765
TanH(2) = 0.964027580075817
TanH(3) = 0.995054753686731
TanH(10) = 0.999999995877693
TanH("2.3|-4.5") = "1.01845109016774|-8.43881632319449E-03"

**See also:** Tangent Function
SinH Function
CosH Function
ATanH Function
HTan Function

**vX:** Number whose hyperbolic 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.

**Note:** Microsoft named this function HTan within their Derived Math Function help topic. **Definition:**

Exponent(X) - Exponent(-X)
--------------------------
Exponent(X) + Exponent(-X)

Copyright 1996-1999 Entisoft

Entisoft Tools is a trademark of Entisoft.