How to Use IMTANH function in Google Sheets in 2020?

IMTANH functionThe IMTANH function returns the hyperbolic tangent of the given complex number. For example, a given complex number “x+yi” returns “tanh(x+yi).”

Parts of an IMTANH function

IMTANH(number)

Part
Description
Notes

number
The complex number for which you want the hyperbolic tangent.
This can be either the result of the COMPLEX function, a real number interpreted as a complex number with imaginary parts equal to 0, or a string in the format “x+yi” where x and y are numeric.

Sample formulas

IMTANH(COMPLEX(4,6))

IMTANH(4)

IMTANH(“2+3i”)

Notes

The IMTANH function returns an error if the given number isn’t a valid complex number.

Examples

A
B

1
Formula
Result

2
=IMTANH(COMPLEX(4,1))
1.00027905623447+0.00061024092137626i

3
=IMTANH(3.5)
0.998177897611199

4
=IMTANH(“3+2i”)
1.00323862735361-0.00376402564150425i

Related functions

IMTAN: The IMTAN function returns the tangent of the given complex number.
COMPLEX: The COMPLEX function creates a complex number, given real and imaginary coefficients.