C++ Math cosh()Last Updated : 17 Mar 2025 The function finds the hyperbolic cosine of an angle given in radian. Mathematically, coshx = ex+ e-x/2 SyntaxSuppose the hyperbolic angle is 'x': Parameterx: The value of angle whose hyperbolic cosine is to be calculated. Return valueIt returns the hyperbolic cosine of angle given in radian. Example 1Let's see a simple example when the value of x is of integral type. Output: Value of degree is :45 cosh(radian): 1.32426 In this example, cosh() computes the hyperbolic cosine of an angle 45 and returns the value 1.324. Example 2Let's see another simple example. Output: Value of degree is: 25.5 cosh(radian): 1.10058 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