SpreadJS Documentation
IMSECH
SpreadJS Documentation > Formula Reference > Formula Functions > IMSECH

This function calculates the hyperbolic secant of specified complex number.

Syntax

IMSECH(complex_num)

Arguments

The complex_num argument is a complex number to return the hyperbolic secant for.

Remarks

An error is returned if the complex_num argument is not in the form "x+yi" or "x+yj".

Data Types

Accepts numeric and string data. Returns string data.

Examples

IMSECH("3+6i") gives the result 0.09544

IMSECH("7+2i") gives the result -0.00075

See Also