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


asin

sine inverse (radians)

Syntax

t = asin(x)

Arguments

x, t

arrays of real or complex numbers, of same sizes.

Description

The entries of t are sine inverse of the corresponding entries of x.

Examples

x = 0:0.2:1; x = [-x ; x]
asin(x)

A = [1,2 ; 3,4];
a = asin(A)
sin(a)
--> x = 0:0.2:1; x = [-x ; x]
 x  =
   0.  -0.2  -0.4  -0.6  -0.8  -1.
   0.   0.2   0.4   0.6   0.8   1.

--> asin(x)
 ans  =
   0.  -0.2013579  -0.4115168  -0.6435011  -0.9272952  -1.5707963
   0.   0.2013579   0.4115168   0.6435011   0.9272952   1.5707963


--> A = [1,2 ; 3,4];
--> a = asin(A)
 a  =
   1.5707963 + 0.i          1.5707963 - 1.3169579i
   1.5707963 - 1.7627472i   1.5707963 - 2.0634371i

--> sin(a)
 ans  =
   1. + 0.i          2. - 1.061D-16i
   3. - 1.732D-16i   4. - 2.372D-16i

See also

  • asind — sine inverse, results in degree
  • sin — sine function
  • sind — sine function, argument in degree.
  • sinm — matrix sine function
  • asinm — matrix wise sine inverse

History

VersionDescription
5.5.2 For x>1, imag(asin(x)) is now set negative.
Report an issue
<< asech Trigonometry asind >>

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 Jun 17 17:49:15 CEST 2024