Facebook Page Twitter Page LinkedIn Page
× Python Tutorial Python Advanced Python Resources Python Libraries


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

acosh

Syntax

math.acosh(x)

Parameters

x Required. Specify the value.

Return Value

Returns the hyperbolic cosine of a value.

Example:

In the below example, acosh() function is used to find out the 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

5