Choose where you’d like to start

cosh()

Overview

The cosh() function returns the hyperbolic cosine of the specified angle (in radians).

Return Type

Syntax

<variable> = <number>.cosh();

(OR)

<variable> = cosh(<number>);
ParameterData typeDescription
<variable>NUMBERVariable which will contain the returned value.
<number>NUMBERThe number whose hyperbolic cosine value will be returned.

Examples

number= 0;
coshValue = number.cosh();       // returns 1.0

Get Started Now

Execute