<< Prev        Next >>

ID : 243

Sin

Function

To return sine.

Syntax

Sin(formula)

Guaranteed entry

Formula
Specify the angle by double precision real number type data. The unit is [Degree].

Return value

Return sine.

Description

Sine is returned.

Related Terms

Cos, Tan, Asin, Acos, Atn, Atn2

Attention

The argument formula unit is [Degree].

Example

'!TITLE "Calculation of Sine"
' Calculation of sine of 90 degree
Sub Sample_Sin

  Dim aaa As Integer

  ' Assign the sine value of 90 degree to aaa
  aaa = Sin( 90 ) 

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

End Sub

ID : 243

<< Prev        Next >>