<< Prev        Next >>

ID : 226

Asin

Function

To return arcsine.

Syntax

Asin(sine value)

Guaranteed entry

Sine value
Designate Double Precision Real Number Type data. Value must be within the range of -1 to +1.

Return value

Return Double Precision Real Number Type data between -90 and +90. The unit is [Degree].

Description

Arcsine is returned.

Related Terms

Sin, Cos, Tan, Acos, Atn, Atn2

 

Attention

The return value unit is [Degree].

An error occurs if the sine value is out of the range -1 to +1.

Example

'!TITLE "Calculation of Arcsine"
' Calculate arcsine of 0.5
Sub Sample_ASin

  Dim aaa As Integer

  ' Assign the arcsine value of 0.5 to aaa
  aaa = ASin( 0.5 )

  ' Display "30" on the message output window
  PrintDbg aaa

End Sub

ID : 226

<< Prev        Next >>