Atn Function

ཟུར་གསུམ་རྩིས་རིག་གི་ལས་འགན་གྱིས་ཨག་ཊན་ཇིནཊི་གི་ཨང་གྲངས་ཀྱི་གསལ་བརྗོད་དེ་སླར་་ལོགཔ་ཨིན། སླར་ལོག་གནས་གོང་དེ་ཁྱབ་ཚད་ -པི་ཨའི/༢ ལས་ +པི་ཨའི་/༢ ནང་ཨིན།

The arctangent is the inverse of the tangent function. The Atn Function returns the angle "Alpha", expressed in radians, using the tangent of this angle. The function can also return the angle "Alpha" by comparing the ratio of the length of the side that is opposite of the angle to the length of the side that is adjacent to the angle in a right-angled triangle.

Atn(side opposite the angle/side adjacent to angle)= Alpha

Syntax:


        Atn (Number As Double) As Double
    

Return value:

Double

Parameters:

Number: Any numerical expression that represents the ratio of two sides of a right triangle. The Atn function returns the corresponding angle in radians (arctangent).

རེ་ཌི་ཡཱནསི་དབྱེ་རིམ་ལུ་གཞི་བསྒྱུར་འབད་ནི་ལུ་ ༡༨༠/པི་ཨའི་གིས་འབད་རེ་ཌི་ཡཱནསི་དགུ་མཐའ་རྐྱབས།

དབྱེ་རིམ=(radian*180)/pi

རེ་ཌི་ཡན=(degree*pi)/180

Pi is here the fixed circle constant with the rounded value 3.14159. Pi is a Basic mathematical constant.

Error codes:

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

Example:


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

Please support us!