COSH()
Hyperbolic Cosine of the argument
Syntax
COSH( nArea ) -> nHyperbolicCosine
Arguments
<nArea> the size of the area (see below)
Returns
<nHyperbolicCosine> the hyperbolic cosine of <nArea>
Description
The function COSH() calculates the hyperbolic cosine of the argument. In analytical mathematics it is defined as 1/2*(exp(nArea)+exp(-nArea)). A common geometric interpretation of the COSH() function is the maximum x value of the points in the area with the given size <nArea>, that is bound by the x axis, a straight line through the point of origin (this one is fixed by the area) and the hyperbola xˆ2-yˆ2=1.
Examples
? cosh( 0.0 ) // --> 1.0 ? cosh( 1.0 ) // --> 1.5430...
Tests
cosh( 0.0 ) == 1.0 cosh( -0.5 ) == cosh( 0.5 )
Compliance
COSH() is new in Harbours CT3’s library.
Platforms
All
Files
Source is trig.c, library is libct.
Seealso
SIN(), COS(), TAN(), COT(), ASIN(), ACOS(), ATAN(), ATN2(), SINH(), TANH(), RTOD(), DTOR(), PI()
Pingback: Harbour All Functions – C | Viva Clipper !
Pingback: Harbour Math Functions | Viva Clipper !