TANH
Returns the hyperbolic tangent of its argument
With variations:
Also written as:
Usage
Variations
Examples
Comments
The BASIC Cookbook points out that BASICs which don't implement the function can achieve the same results, for a given X argument, with the following formula:
- EXP(-X)/(EXP(X) + EXP(-X))*2 + 1
Related keywords
Similar keywords
In other languages...
References
- TRACTON, Ken. The BASIC Cookbook, 1st edition. Tab Books. USA, 1978.