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 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c = \frac {\sin(2a)} {\cosh(2b)-\cos(2a)}}
- imaginary part Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle d= \frac {-\sinh(2b) } {\cosh(2b)-\cos(2a)}}
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