Documentation/Calc Functions/IMTAN

Function name:
IMTAN

Category:
Add-in

Summary:
Calculates the trigonometric tangent of a complex number.

Syntax:
IMTAN(ComplexNumber)

Returns:
Returns a text string giving the complex number that is the tangent 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 tangent 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 IMTAN as a number rather than a string.
 * If ComplexNumber is not a valid complex number, IMTAN reports an invalid argument error (Err:502).

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

Related LibreOffice functions:
IMCOS

IMCSC

IMCOT

IMSEC

IMSIN

ODF standard:
Section 6.8.27, part 2

Equivalent Excel functions:
IMTAN