focus expression text field at startup -> version 1.2
[LeanCalc.git] / help / cosh
1 NAME
2     cosh - hyperbolic cosine
3
4 SYNOPSIS
5     cosh(x [,eps])
6
7 TYPES
8     x           real
9     eps         nonzero real, defaults to epsilon()
10
11     return      real
12
13 DESCRIPTION
14     Calculate the cosh of x to the nearest or next to nearest multiple of
15     epsilon, with absolute error less than .75 * abs(eps).
16
17     cosh(x) = (exp(x) + exp(-x))/2
18
19 EXAMPLE
20     > print cosh(1, 1e-5), cosh(1, 1e-10), cosh(1, 1e-15), cosh(1, 1e-20)
21     1.54308 1.5430806348 1.543080634815244 1.54308063481524377848
22
23 LIMITS
24     none
25
26 LINK LIBRARY
27     NUMBER *qcosh(NUMBER *x, NUMBER *eps)
28
29 SEE ALSO
30     sinh, tanh, sech, csch, coth, epsilon
31