Python Tutorial Python Advanced Python References Python Libraries

Python math - acosh() Function



The Python math.acosh() function returns inverse hyperbolic cosine of a value. The inverse hyperbolic cosine of x is defined as:

acosh

Syntax

math.acosh(x)

Parameters

x Required. Specify the value.

Return Value

Returns the inverse hyperbolic cosine of a value.

Example:

In the example below, acosh() function is used to find out the inverse hyperbolic cosine of a value.

import math

print(math.acosh(1))
print(math.acosh(2))
print(math.acosh(3))
print(math.acosh(4))

The output of the above code will be:

0.0
1.3169578969248166
1.762747174039086
2.0634370688955608

❮ Python Math Module