Login     Register

        Contact Us     Search

XLeratorDB/math Documentation

SQL Server COSH function


COSH
 
Updated: 17 August 2010
Use COSH to calculate the hyperbolic cosine of a number.
Syntax
SELECT [westclintech].[wct].[COSH] (
   <@Number, float,>)
Arguments
@Number
is any real number. @Number is an expression of type float or of a type that can be implicitly converted to float
Return Types
float
Remarks
·         COSH = (EXP(@Number) + EXP(-@Number)) / 2
Example
 
SELECT wct.COSH(PI())
Here is the result set
----------------------
11.5919532755215
 

(1 row(s) affected)



Copyright 2008-2024 Westclintech LLC         Privacy Policy        Terms of Service