Predefined Functions – cosh
| Function name: | cosh – Cosinus hyperbolicus |
| Synopsis: | cosh(x) |
| Input data type | Output data type |
|---|---|
| real | real |
| complex | complex |
| quaternion | unsupported |
Description:
ChaosPro automatically detects the input data type.
In order to calculate cosh(x) (x = any real number) ChaosPro performs the following calculation:
cosh (x) = 0.5 * ( exp(x) + exp(-x) )
In order to calculate cosh(z) (z = any complex number) ChaosPro performs the following calculation:
cosh(z)=cosh(x)*cos(y)+i*sinh(x)*sin(y)
where sinh(x) (x = any real number) is defined as:
sinh(x) = 0.5 * ( exp(x) - exp(-x) )