Th
This function returns the hyperbolic tangent of a specified number.
th(number)
RESULT=th(0.5) : # 0.4621172
This function can be calculated by the following formula:
th(x)=(exp(2*x)+1)/(exp(2*x)-1)/2
The type of result is Double.
Error code | Description |
---|---|
13 | Calculation overflow (x is too big). |
ach, ash, ath, ch,sh, ln, sqr.