# Sin Function

የ አንግል ሳይን ይመልሳል: አንግል የሚገለጸው በ ራዲያንስ ነው: ውጤቱ የሚውለው በ -1 እና 1.

Using the angle Alpha, the Sin function returns the ratio of the length of the opposite side of an angle to the length of the hypotenuse in a right-angled triangle.

Sin(Alpha) = side opposite the angle/hypotenuse

### አገባብ:

``````
Sin (Number As Double) As Double
``````

Double

### ደንቦች:

ቁጥር: የ ቁጥር መግለጫ የሚወስን አንግል በ ራዲያንስ እርስዎ ማስላት የሚፈልጉትን ሳይን ለ

To convert degrees to radians, multiply degrees by Pi/180, and to convert radians to degrees, multiply radians by 180/Pi.

Pi is approximately 3.141593.

### የ ስህተት ኮዶች:

5 ዋጋ የሌለው የ አሰራር ጥሪ

### ለምሳሌ:

``````
' In this example, the following entry is possible for a right-angled triangle:
' The side opposite the angle and the angle (in degrees) to calculate the length of the hypotenuse:
Sub ExampleSine
' Pi = 3.1415926 is a predefined variable
Dim d1 As Double
Dim dAlpha As Double
d1 = InputBox("Enter the length of the opposite side: ","Opposite Side")
dAlpha = InputBox("Enter the angle Alpha (in degrees): ","Alpha")
ማተሚያ "እርዝመት ለ ሀይፖቱነስ ነው"; (d1 / ሳይን (dአልፋ * ፓይ / 180))
End Sub
``````