COSH Function
Calculates the hyperbolic cosine of the input variable.
enabled.
Usage
Input Parameters
x—The angle, in radians, that is evaluated.
Returned Value
result—The hyperbolic cosine of x.
Keywords
None.
Discussion
COSH is defined by:
cosh(x)≡ (ex + e-x)/2
If x is of double-precision floating-point data type, or of complex type, COSH yields a result of the same type. All other data types yield a single-precision floating-point result.
If x is an array, the result of COSH has the same dimensions, with each element containing the hyperbolic cosine of the corresponding element of x.
Example
x = [0.3, 0.5, 0.7, 0.9] PRINT, COSH(x) ; PV-WAVE prints: 1.04534 1.12763 1.25517 1.43309
See Also
For a list of other transcendental functions, see Transcendental Mathematical Functions.