Tan Function

གྲུ་ཟུར་ཅིག་གི་ཊེན་ཇེནཊི་འདི་གཏན་འབེབས་བཟོཝ་ཨིན། གྲུ་ཟུར་འདི་འོད་ཅན་ནང་གསལ་བཀོད་འབད་དེ་ཡོདཔ་ཨིན།

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

Syntax:


Tan (Number As Double) As Double

Return value:

Double

Parameters:

ཨང་: ཨང་གྲངས་ཀྱི་གསལ་བརྗོད་གང་རུང་འདི་ཁྱོད་ཀྱིས་ཊེན་ཇེན་ཊི་དོན་ལུ་ (རེ་ཌི་ཡནསི་ནང་)རཙིས་སྟོན་འབད་ནི་ཡོདཔ་ཨིན།

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.

Error codes:

༥ ནུས་མེད་བྱ་སྒོའི་ལམ་ལུགས་བོད་བརྡ་

Example:


ཨར་ཨི་ཨེམ་ འ་ནི་དཔེར་བརྗོད་ནང་ འོག་གི་ཐོ་བཀོད་དེ་ གཡས་ཕྱོགས་གྲུ་ཟུར་ ཟུར་གསུམ་དོན་ལུ་ཚུགསཔ་ཨིན:
ཨར་ཨི་ཨེམ་ གྲུ་ཟུར་་དང་གྲུ་ཟུར་(དབྱེ་རིམ་ནང་)གྱི་རྒྱབ་འགལ་ཟུར་གྱི་གྲུ་ཟུར་ལུ་ཉེས་འདབས་ཀྱི་རིང་ཚད་དེ་རྩིས་སྟོན་ནི་ལུ:
Sub ExampleTangens
རིམ་ པི་ཨའི་ = ༣་༡༤༡༥༩༢༦ འདི་སྔོན་གོང་ངེས་འཛིན་འབད་ཡོདཔ་འགྱུར་ཅན།
Dim d1 As Double
Dim dAlpha As Double
    ཌི་ ༡ = ཨིན་པུཊི་སྒྲོམ$ ("Enter the length of the side opposite the angle: ","opposite")
    ཌི་ཨལ་ཕ = ཨིན་པིཊི་སྒྲོམ$ ("Enter the Alpha angle (in degrees): ","Alpha")
    དཔར་བསྐྲུན་འབད "the length of the side adjacent the angle is"; (d1 / tan (dAlpha * Pi / 180))
End Sub

Please support us!