Function ArcSin(x)

ArcSin

ArcSin(
      x             ! (input) numerical expression
      )

Arguments

x

A scalar numerical expression in the range \([-1,1]\).

Return Value

The ArcSin function returns the arcsine of x in the range \(-\pi/2\) to \(\pi/2\) radians.

Graph

../../_images/arcsin.png

Example

_p_returnM1 := arcSin(-1); ! returns -pi/2
_p_returnZ  := arcSin( 0); ! returns 0
_p_returnP1 := arcsin( 1); ! returns pi/2

Note

  • A run-time error results if x is outside the range \([-1,1]\).

  • The function ArcSin can be used in constraints of nonlinear mathematical programs.

See also