IMCOT(complex) — cotangent of complex number.
Uses double-angle formula for precision matching Google Sheets:
cot(a+bi) = sin(2a)/(cosh(2b)-cos(2a)) - i*sinh(2b)/(cosh(2b)-cos(2a))
IMCOTH(complex) — hyperbolic cotangent of complex number.
Uses double-angle formula for precision matching Google Sheets:
coth(a+bi) = sinh(2a)/(cosh(2a)-cos(2b)) - i*sin(2b)/(cosh(2a)-cos(2b))
IMTAN(complex) — tangent of complex number.
Uses double-angle formula for precision matching Google Sheets:
tan(a+bi) = sin(2a)/(cos(2a)+cosh(2b)) + i*sinh(2b)/(cos(2a)+cosh(2b))
IMTANH(complex) — hyperbolic tangent of complex number.
Uses double-angle formula for precision matching Google Sheets:
tanh(a+bi) = sinh(2a)/(cosh(2a)+cos(2b)) + i*sin(2b)/(cosh(2a)+cos(2b))