cosh(3f) - [FORTRAN:INTRINSIC:TRIGONOMETRIC] Hyperbolic cosine function
Syntax
Description
Arguments
Return Value
Example
Standard
Class
See Also
x = cosh(x)
cosh(x) computes the hyperbolic cosine of X.
X - The type shall be REAL or COMPLEX.
The return value has same type and kind as X. If X is complex, the imaginary part of the result is in radians. If X is REAL, the return value has a lower bound of one, cosh(x) >= 1.
Sample program:
program demo_cosh real(8) :: x = 1.0_8 x = cosh(x) end program demo_cosh
[[FORTRAN 77]] and later, for a complex argument [[Fortran 2008]] or later
[[Elemental procedure|Elemental function]]
Inverse function: [[acosh]]
cosh (3) | March 18, 2019 |