Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - 日本語 -
Справка Scilab >> Основные функции > Тригонометрия > 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 — гиперболический косинус
  • sinh — гиперболический синус
  • tanh — гиперболический тангенс
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 14 15:13:21 CET 2017