TANH

Returns the hyperbolic tangent of an expression that represents a numerical value:
TANH(x) = (ex-e-x)/(xa+exa) 
 
Note:  
See Haversine Step (HAVSIN) for a plot comparing STEP, STEP5, TANH, and Haversine Step (HAVSIN).

Format

TANH(x)

Argument

 
x
Any valid expression that evaluates to a real number.

Example

Using a hyperbolic tangent, the following function defines a smooth step function that transitions from a value of 0 to 1:
TANH(5*(TIME-1.5))