commands → arccosh

arccosh(x)

The arccosh command computes the inverse hyperbolic cosine of x where x is in radians. If x is a floating point number then a floating point result is computed, otherwise the result is an exact symbolic value.

Examples

# hardware floating point
arccosh(2.0);
	1.31695789692482

# symbolic
arccosh(2);
	arccosh(2)

Algorithm

To compute arccosh in extended precision we express it as a natural logarithm.

References

Gullberg, Jan. Mathematics: From the Birth of Numbers. Norton, 1996.