Returns the hyperbolic tangent of a number.

Syntax

TANH(number)

Number is any real number

Remark

The formula for the hyperbolic tangent is:

equation

Example

The example may be easier to understand if you copy it to a blank worksheet.

How to copy an example

  1. Create a blank workbook or worksheet.
  2. Select the example in the Help topic.

    Note Do not select the row or column headers.

    selecting an example from helpSelecting an example from Help

  3. Press CTRL+C.
  4. In the worksheet, select cell A1, and press CTRL+V.
  5. To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Formulas tab, in the Formula Auditing group, click the Show Formulas button.
1
2
3
4
A B
Formula Description (Result)
=TANH(-2) Hyperbolic tangent of -2 (-0.96403)
=TANH(0) Hyperbolic tangent of 0 (0)
=TANH(0.5) Hyperbolic tangent of 0.5 (0.462117)


See also: