Login    Register

XLeratorDB/math Documentation

COSH


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)



  Comments
Add Comment
No Comments Yet


 |  View Topic History  |
Copyright 2010 WestClinTech LLC         Privacy Policy        Terms of Service