# IMTAN function

From Apache OpenOffice Wiki

< Documentation | How Tos

## IMTAN

Returns the tangent of a complex number.

### Syntax

`IMTAN( Z )`

- where z is a complex number as described in Complex Number functions

### Semantics

`IMTAN( Z )`

is equivalent to `IMDIV(IMSIN( z );IMCOS( 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**