acosh
acosh(x)
Compute the inverse hyperbolic cosine of x
Examples
-
Calculate the inverse hyperbolic cosine of a real number:
julia> acosh(1) 0.0This example calculates the inverse hyperbolic cosine of
1. -
Handle complex numbers:
julia> acosh(1 + im) 0.0 + 1.5707963267948966imThe
acoshfunction can handle complex numbers as well. Here, it computes the inverse hyperbolic cosine of1 + imand returns a complex result. - Calculate acosh for negative real numbers:
julia> acosh(-2) 1.3169578969248166 + 3.141592653589793imThe
acoshfunction can handle negative real numbers. It computes the inverse hyperbolic cosine of-2and returns a complex result.
See Also
acos, acosd, acosh, acot, acotd, acoth, acsc, acscd, acsch, asec, asecd, asech, asin, asind, asinh, atan, atan2, atand, atanh, cos, cosc, cosd, cosh, cospi, cot, cotd, coth, csc, cscd, csch, deg2rad, rad2deg, sin, sinc, sind, sinh, sinpi, tan, tand, tanh,User Contributed Notes
Add a Note
The format of note supported is markdown, use triple backtick to start and end a code block.