Documentation/Calc Functions/IMSECH

Function name:
IMSECH

Category:
Add-in

Summary:
Calculates the hyperbolic secant of a complex number. The hyperbolic secant is the reciprocal of the hyperbolic cosine.

Syntax:
IMSECH(ComplexNumber)

Returns:
Returns a text string giving the complex number that is the hyperbolic secant of the complex number passed as argument.

Arguments:
ComplexNumber is a string (in quotation marks) representing a complex number in the form a+bi or a+bj, or a reference to a cell containing that string, whose hyperbolic secant is to be determined. a and b are real numbers.


 * If ComplexNumber does not have an imaginary part (b equal to 0), the real part can be passed to IMSECH as a number rather than a string.
 * If ComplexNumber is not a valid complex number, IMSECH reports an invalid argument error (Err:502).

Details specific to IMSECH function
For a complex number of the form a+bi, IMSECH implements the following equation: However, IMSECH determines if b=0 and in this case simply returns 1/cosh(a).

Related LibreOffice functions:
IMCOSH

IMCSCH

IMSINH

ODF standard:
Section 6.8.23, part 2

Equivalent Excel functions:
IMSECH