cosh()
Table of Contents
Overview
The cosh() function returns the hyperbolic cosine of the specified angle (in radians).
Return Type
Syntax
<variable> = <number>.cosh();
(OR)
<variable> = cosh(<number>);
Parameter | Data type | Description |
---|---|---|
<variable> | NUMBER | Variable which will contain the returned value. |
<number> | NUMBER | The number whose hyperbolic cosine value will be returned. |
Examples
number= 0;
coshValue = number.cosh(); // returns 1.0
coshValue = number.cosh(); // returns 1.0