Python. Module math. Hyperbolic functions




Module math. Hyperbolic functions


Contents


Search other websites:

1. Function math.acosh(x). Inverse hyperbolic cosine

The math.acosh(x) function computes the inverse hyperbolic cosine of the argument x.

Example.

# Function math.acosh(x)
import math

x = 2.0
y = math.acosh(x) # y = 1.3169578969248166

 

2. Function math.asinh(x). Inverse hyperbolic sine

The math.asinh(x) function computes the inverse hyperbolic sine of argument x.

Example.

# Function math.asinh(x)
import math

x = -1.5
y = math.asinh(x) # y = -1.1947632172871094

 

3. Function math.atanh(x). Inverse hyperbolic tangent

The math.atanh(x) function computes the inverse hyperbolic tangent of the argument x.

Example.

# Function math.atanh(x)
import math

x = 0.2
y = math.atanh(x) # y = 0.2027325540540822


 

4. Function math.cosh(x). Hyperbolic cosine

The math.cosh(x) function computes the hyperbolic cosine of argument x.

Example.

# Function math.cosh(x)
import math

x = 0.2
y = math.cosh(x) # y = 1.020066755619076

 

5. Function math.sinh(x). Hyperbolic sinus

The math.sinh(x) function computes the hyperbolic sine of argument x.

Example.

# Function math.sinh(x)
import math

x = 0.2
y = math.sinh(x) # y = 1.020066755619076

 

6. Function math.tanh(x). Hyperbolic tangent

The math.tanh(x) function computes the hyperbolic tangent of the argument x.

Example.

# Function math.tanh(x)
import math

x = 0.2
y = math.tanh(x) # y = 0.197375320224904

 


Related topics