SpreadJS Documentation
IMCOT
SpreadJS Documentation > Formula Reference > Formula Functions > IMCOT

This function calculates the cotangent of specified complex number.

Syntax

IMCOT(complex_num)

Arguments

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

Remarks

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

Data Types

Accepts numeric and string data. Returns string data.

Examples

IMCOT("2-3i") gives the result -0.0037

IMCOT("1-3i") gives the result 0.0044

See Also