Documentation/How Tos/Calc: IMCOT function

From Apache OpenOffice Wiki
Jump to: navigation, search
CALC FUNCTIONS
< {{#switch:Previous Section Previous Section = Previous Section Next Section = Next Section Previous Page = Previous Page Next Page = Next Page }} {{#switch:Next Section Previous Section = Previous Section Next Section = Next Section Previous Page = Previous Page Next Page = Next Page }} >
< {{#switch:Previous Page Previous Section = Previous Section Next Section = Next Section Previous Page = Previous Page Next Page = Next Page

}}

{{#switch:Next Page Previous Section = Previous Section Next Section = Next Section Previous Page = Previous Page Next Page = Next Page }} >


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.

Template:Documentation/SeeAlso

Personal tools