Contents

# Atn Function

숫자 식의 아크 탄젠트를 구하는 삼각 함수입니다. 반환 값의 범위는 -Pi/2에서 +Pi/2 사이입니다.

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 type:

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).

라디안을 도로 변환하려면 라디안에 180/pi를 곱합니다.

degree=(radian*180)/pi

radian=(degree*pi)/180

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

### Error codes:

5 잘못된 프로시저 호출입니다.

### Example:

            REM The following example calculates for a right-angled triangle
            REM the angle Alpha from the tangent of the angle Alpha:
            Sub ExampleAtn
            REM Pi = 3.14159는 미리 정의된 상수입니다.
            Dim d1 As Double
            Dim d2 As Double
                d1 = InputBox("Enter the length of the side adjacent to the angle: ","Adjacent")
                d2 = InputBox$("각도 맞은편 변 길이 입력: ","Opposite")
                Print "The Alpha angle is"; (atn (d2/d1) * 180 / Pi); " degrees"
            End Sub

관련 주제

Cos Function

Sin Function

Tan Function

Please support us!