Signature (Visual Basic / VBA)
Public Function CscH( _
ByVal vX As Variant _
) As Variant
Code Examples
CscH(-2) = -0.275720564771783
CscH(-1) = -0.850918128239322
IsNull(CscH(0)) = True
CscH(1) = 0.850918128239322
CscH(2) = 0.275720564771783
CscH(10) = 9.07998597121222E-05
CscH("2.3|-4.5") = "-4.10866737706438E-02|-0.19440184661157"
2 / (Exponent(X) - Exponent(-X))
Parameters
| Parameter | Description |
|---|---|
| vX | Number whose hyperbolic cosecant 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 HCosec within their Derived Math Function help topic. |