Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - English

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Elementary Functions > Trigonometry > acosh

acosh

hyperbolic cosine inverse

Syntax

t = acosh(x)

Arguments

x, t

each is a real or complex vector or matrix. t has the sizes of x.

Description

acosh(x) returns t such that cosh(t)==x and real(t)>=0. -t are always other possible answers.

For real input numbers -1 < x < 1, real(t)==0 and imag(t) belongs to ]0, %pi[.

For complex numbers x, imag(t) belongs to [-pi, pi] and any t + k*%pi*%i with integer k are other possible answers.

Sample

Examples

x = [ -2 -1.001 -1 -0.999 -0.5  0
       2  1.001  1  0.999  0.5  0]'
t = acosh(x)
cosh(t) - x
cosh(-t) - x

// With complex numbers:
acosh([-0.01*%i  0.01*%i
       -0.1*%i   0.1*%i
       -%i       %i
       -10*%i    10*%i
       -1 - %i,  1 + %i
       -2 - 2*%i, 2 + 2*%i
       ])

See also

  • cosh — hyperbolic cosine
  • sinh — hyperbolic sine
  • tanh — hyperbolic tangent
Report an issue
<< acosd Trigonometry acot >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:23:23 CET 2022