Python math.acosh() Method

❮ Math Methods


Example

Return the inverse hyperbolic cosine of different numbers:

# Import math Library
import math

# Return the inverse hyperbolic cosine of different numbers
print (math.acosh(7))
print (math.acosh(56))
print (math.acosh(2.45))
print (math.acosh(1))
Try it Yourself »

Definition and Usage

The math.acosh() method returns the inverse hyperbolic cosine of a number.

Note: The parameter passed in acosh() must be greater than or equal to 1.


Syntax

math.acosh(x)

Parameter Values

Parameter Description
x Required. A positive number >= 1. If x is not a number, it returns a TypeError

Technical Details

Return Value: A float value, representing the inverse hyperbolic cosine of x
Python Version: 2.6

❮ Math Methods

Copyright 1999-2023 by Refsnes Data. All Rights Reserved.