# IMCOT function

From Apache OpenOffice Wiki

< Documentation | How Tos

## IMCOT

Returns the cotangent of a complex number.

### Syntax

`IMCOT( z )`

- where z is a complex number as described in Documentation/How_Tos/Calc:_Complex_Number_functions

### Semantics

`IMCOT( z )`

is equivalent to `IMDIV(IMCOS(z);IMSIN(z))`

.

To get better accuracy it is not implemented that way. With the notation `IMCOT("a+bj")="c+dj"`

the used formulas are

- real part
- imaginary part

### Issues

The function is not implemented in versions before AOO 4.0 and before LibO 3.7.

This function currently appears in the AddIn category of the Function Wizard.

**See Also**