LibreOffice 25.2 Help
একটি কোনের টেনজেন্ট নির্ধারণ করা হয়। কোনটি রেডিয়ানে উল্লেখ করা হয়।
Using the angle Alpha, the Tan function calculates the ratio of the length of the side opposite the angle to the length of the side adjacent to the angle in a right-angled triangle.
Tan(Alpha) = side opposite the angle/side adjacent to angle
Tan (Number As Double) As Double
Double
সংখ্যা: যেকোনো সংখ্যাসূচক এক্সপ্রেশন যার টেনজেন্ট গণনা করতে চান (রেডিয়ানে)।
To convert degrees to radians, multiply by Pi/180. To convert radians to degrees, multiply by 180/Pi.
degrees=(radians*180)/Pi
radians=(degrees*Pi)/180
Pi is approximately 3.141593.
REM এই উদাহরণে, নিচের এন্ট্রিটি সমকোনী ত্রিভুজের জন্য সম্ভাব্য:
REM কোনের বিপরীত বাহু এবং কোন সংশ্লিষ্ট বাহুর দৈর্ঘ্য গণনা করার জন্য কোন (ডিগ্রিতে):
Sub ExampleTangens
REM Pi = 3.1415926 পূর্বিনির্ধারিত ভেরিয়েবল
Dim d1 As Double
Dim dAlpha As Double
d1 = InputBox("Enter the length of the side opposite the angle: ","opposite")
ddAlpha = InputBox("Enter the Alpha angle (in degrees): ","Alpha")
Print "the length of the side adjacent the angle is"; (d1 / tan (dAlpha * Pi / 180))
End Sub