mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
34 lines
697 B
Plaintext
34 lines
697 B
Plaintext
NAME
|
|
acosh - inverse hyperbolic cosine
|
|
|
|
SYNOPSIS
|
|
acosh(x [,eps])
|
|
|
|
TYPES
|
|
x real, x >= 1
|
|
eps nonzero real, defaults to epsilon()
|
|
|
|
return nonnegative real
|
|
|
|
DESCRIPTION
|
|
Returns the acosh of x to a multiple of eps with error less in
|
|
absolute value than .75 * eps.
|
|
|
|
acosh(x) is the nonnegative real number v for which cosh(v) = x.
|
|
It is given by
|
|
|
|
acosh(x) = ln(x + sqrt(x^2 - 1))
|
|
|
|
EXAMPLE
|
|
> print acosh(2, 1e-5), acosh(2, 1e-10), acosh(2, 1e-15), acosh(2, 1e-20)
|
|
1.31696 1.3169578969 1.316957896924817 1.31695789692481670862
|
|
|
|
LIMITS
|
|
none
|
|
|
|
LIBRARY
|
|
NUMBER *qacosh(NUMBER *x, NUMBER *eps)
|
|
|
|
SEE ALSO
|
|
asinh, atanh, asech, acsch, acoth, epsilon
|