LibreOffice 24.2 Help
একটি কোনের সাইন প্রদান করে থাকে। কোনটি রেডিয়ানে উল্লেখিত হয়। ফলাফল -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.
degrees=(radians*180)/Pi
radians=(degrees*Pi)/180
Pi is approximately 3.141593.
REM এই উদাহরণে, নিচের এন্ট্রিটি সমকোনী ত্রিভুজের জন্য সম্ভাব্য:
REM কোনের বিপরীত বাহু এবং অতিভুজের দৈর্ঘ্য গণনা করার জন্য কোন (ডিগ্রিতে):
Sub ExampleSine
REM Pi = 3.1415926 একটি পূর্বনির্ধারিত ভেরিয়েবল
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")
Print "The length of the hypotenuse is"; (d1 / sin (dAlpha * Pi / 180))
End Sub