Home >>Python math Module >Python math.acosh() Method

Python math.acosh() Method

Python math.acosh() Method

Python math.acosh() Method returns the hyperbolic arc cosine value of the given number in radians must be greater than or equal to 1.

Syntax:
math.acosh(x)

Parameter Values

Parameter Description
x It is Required a number to find the hyperbolic arc cosine of and is returns the Type error.
Here is an Example of Python math.acosh() Method:

import math
print (math.acosh(9))
print (math.acosh(47))
print (math.acosh(4.25))
print (math.acosh(1))

Output:
2.8872709503576206
4.543181589671229
2.1259288074588905
0.0
Example 2:

import math 
x = 1
print("math.acosh(",x,"): ", math.acosh(x))
x = 1.9
print("math.acosh(",x,"): ", math.acosh(x))
x = 8
print("math.acosh(",x,"): ", math.acosh(x))
x = 11.27
print("math.acosh(",x,"): ", math.acosh(x))

Output:
math.acosh( 1 ): 0.0
math.acosh( 1.9 ): 1.2571958266003804
math.acosh( 8 ): 2.7686593833135738
math.acosh( 11.27 ): 3.1133173677228223