### ASIN

Finds the arcsine of a number

**Syntax:**

**Usage:**

`
`

*result*=

**Asin**(

*number*)

**Parameters:**

*number*
Sine value in the range [-1..1].

**Return Value:**

The arcsine of

`, in radians, in the range [-Pi/2..Pi/2].`*number***Description:**

`returns the arcsine of the argument`

**Asin**`as a`

*number*`Double`within the range of -Pi/2 to Pi/2. The arcsine is the inverse of the

`Sin`function. The returned angle is measured in radians (not degrees).

`can be overloaded as operator to accept user-defined types.`

**Asin****Examples:**

Dim h As Double

Dim o As Double

Input "Please enter the length of the hypotenuse of a triangle: ", h

Input "Please enter the length of the opposite side of the triangle: ", o

Print ""

Print "The angle between the sides is"; Asin ( o / h )

Sleep

Dim o As Double

Input "Please enter the length of the hypotenuse of a triangle: ", h

Input "Please enter the length of the opposite side of the triangle: ", o

Print ""

Print "The angle between the sides is"; Asin ( o / h )

Sleep

The output would look like:

Please enter the length of the hypotenuse of a triangle: 5 Please enter the length of the opposite side of the triangle: 3 The angle between the sides is 0.6435011087932844

**Dialect Differences:**

- Not available in the
*-lang qb*dialect unless referenced with the alias.**__Asin**

**Differences from QB:**

- New to FreeBASIC

**See also:**

Back to Math