#
Fortran Wiki

cosh

## Description

`cosh(x)`

computes the hyperbolic cosine of `x`

.

## Standard

FORTRAN 77 and later

## Class

Elemental function

## Syntax

`x = cosh(x)`

## Arguments

`x`

- The type shall be `real`

.

## Return value

The return value is of type `real`

and it is positive ($\cosh (x) \geq 0$). The return value is of the same kind as `x`

.

## Example

```
program test_cosh
real(8) :: x = 1.0_8
x = cosh(x)
end program test_cosh
```

## See also

Inverse function: acosh

Revised on April 30, 2009 22:39:12
by

Jason Blevins
(71.70.142.190)
(565 characters / 0.0 pages)