# \[수학] 역삼각함수 - 아크사인 / 아크코사인 / 아크탄젠트

### 코드

{% code title="값이 라디안인 사인/코사인/탄젠트를 구할 때" %}

```
@수학 (값)의 사인
@수학 (값)의 코사인
@수학 (값)의 탄젠트
```

{% endcode %}

{% code title="값이 각도인 사인/코사인/탄젠트를 구할 때" %}

```
@수학 사인 (각도)도
@수학 코사인 (각도)도
@수학 탄젠트 (각도)도
```

{% endcode %}

***

### 설명

삼각함수의 함숫값을 입력받아 각도(라디안)를 반환합니다.

* 아크사인: $$\arcsin(x)$$ 또는 $$\sin^{-1}(x)$$   ($$-1 \le x \le 1$$)
* 아크코사인: $$\arccos(x)$$ 또는 $$\cos^{-1}(x)$$   ($$-1 \le x \le 1$$)
* 아크탄젠트: $$\arctan(x)$$ 또는 $$\tan^{-1}(x)$$ ( $$x \in \mathbb{R}$$ (실수))

***

### 주의사항

* 수학 코드를 쓸 때는 앞에 `@수학`을 써야 해요.
* 역삼각함수의 결과는 라디안으로 나와요.
* 아크사인/아크코사인의 정의역(입력 범위)는 \[-1, 1]이에요.

***

### 파이썬 대응 코드

```
import math
math.asin(x)
math.acos(x)
math.atan(x)
```

***

### 예시

{% code title="예시 코드" %}

```
@수학 0의 아크사인 보여주기
@수학 -1의 아크코사인 보여주기
@수학 1의 아크탄젠트 보여주기
```

{% endcode %}

{% code title="예시 코드의 결과" %}

```
0 # 0의 아크사인
3.141592653589793  # 1의 아크코사인
0.7853981633974483 # 1의 아크탄젠트
```

{% endcode %}

***

### 검색 키워드

수학, 역삼각함수, 아크사인, 아크코사인, 아크탄젠트


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://codebook.horang.it/math/undefined-5.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
