SQL Reference
COSH
COSH(number)
Section titled “COSH(number)”- number: The numeric expression whose hyperbolic cosine is returned.
Example
Section titled “Example”SELECT COSH(1);Output
Section titled “Output”1.5430806348152437Explanation
Section titled “Explanation”In the example, the COSH() function is used to compute the hyperbolic cosine of a number. The function takes as an input the number 1 and returns the hyperbolic cosine of that number as the output.
COSH(number)
Section titled “COSH(number)”- number: The numeric expression whose hyperbolic cosine is returned.
Example
Section titled “Example”SELECT COSH(1) AS HyperbolicCosine;Output
Section titled “Output”HyperbolicCosine-----------------1.54308063481524Explanation
Section titled “Explanation”The given code demonstrates the use of the COSH function in SQL Server. This function calculates the hyperbolic cosine of the specified number. Here, it calculates the hyperbolic cosine of 1 and the result is 1.54308063481524.
COSH(number)
Section titled “COSH(number)”- number: The numeric expression whose hyperbolic cosine is returned.
Example
Section titled “Example”SELECT COSH(1) FROM dual;Output
Section titled “Output”1.5430806348152437Explanation
Section titled “Explanation”The COSH function returns the hyperbolic cosine of a number. In the example, the hyperbolic cosine of 1 is computed, which approximately equates to 1.5430806348152437.