COSH function
The COSH function returns the hyperbolic cosine of the required argument, where the argument is an angle expressed in radians.
Element | Description | Restrictions | Syntax |
---|---|---|---|
radian_expr | Expression that evaluates to an angular value in units of radians | Must be of a numeric data type | Expression |
The following example returns the hyperbolic cosine of
the values in the degrees column of the anglestbl table. The
expression passed to the COSH function converts the degrees
to radians.
SELECT COSH(degrees*180/3.1416) FROM anglestbl;