TANH

Your Ad Here


The TANH function returns the hyperbolic tangent of an expression a.

TANH(a) = (ea - e-a) / (ea + e-a)

Format

TANH(a)

Arguments

a

Any valid function expression.

Number of arguments: 1

Extended Definition

The figure below illustrates the TANH function.

TANH Function

Examples

0.5(1+TANH(5*(TIME-1.5)))

This function defines a smooth step function that transitions from a value of 0 to 1. The value of the step function at time=1.5 is 0.5.

Your Ad Here