C++ Math acosh()Last Updated : 17 Mar 2025 The function computes the arc hyperbolic cosine of an angle given in radian. Where, an arc hyperbolic cosine is the inverse operation of hyperbolic cosine. cosh-1x = acosh(x); SyntaxSuppose an angle is 'x': Parameterx: The value whose arc hyperbolic cosine is to be computed. Return valueIt returns the arc hyperbolic cosine of x. Example 1Let's see the simple example when the value of degree is integer type. Output: Value of degree is : 30 cosh(x) : 1.14009 acosh(x) : -nan In this example, acosh() function computes the arc hyperbolic cosine of x and returns the value -nan. Example 2Let's see the simple example when the value of degree is float type. Output: Value of degree is : 15.7 cosh(x) : 1.03443 acosh(x) : -nan In this example, acosh() computes the arc hyperbolic cosine of x and returns the value -nan. Next TopicC++ Math Functions |
We request you to subscribe our newsletter for upcoming updates.

We deliver comprehensive tutorials, interview question-answers, MCQs, study materials on leading programming languages and web technologies like Data Science, MEAN/MERN full stack development, Python, Java, C++, C, HTML, React, Angular, PHP and much more to support your learning and career growth.
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India