COSH function in Oracle

COSH is one of the vital Numeric/Math functions of Oracle. It is used to get the hyperbolic cosine of a number. The COSH function is supported in the various versions of the Oracle/PLSQL, including, Oracle 12c, Oracle 11g, Oracle 10g, Oracle 9i and Oracle 8i.

Syntax:

COSH ( number )

Parameters:
number: It is used to specify the number to get the hyperbolic cosine value of.

Example 1:

COSH (1)

Output:

1.5430806348152

Explanation:
The hyperbolic cosine value of 1 is 1.5430806348152, and so is the result.

Example 2:

COSH (-1)

Output:

1.5430806348152

Explanation:
The hyperbolic cosine value of -1 is 1.5430806348152, and so is the result.

Example 3:

COSH (0)

Output:

1

Explanation:
The hyperbolic cosine value of 0 is 1, and so is the result.