<< Prev        Next >>

ID : 3819

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 : 3819

<< Prev        Next >>