# \[수학] 각도-라디안 변환

### 코드

{% code title="각도를 라디안으로 바꿀 때" %}

```
@수학 (각도) 라디안으로/라디안
```

{% endcode %}

{% code title="라디안을 각도로 바꿀 때" %}

```
@수학 (라디안) 도로/각도로
```

{% endcode %}

***

### 설명

각도와  라디안 사이의 변환을 제공합니다.

* 라디안 = 각도 $$\times \frac{\pi}{180}$$
* 각도= 라디안 $$\times \frac{180}{\pi}$$

***

### 주의사항

* 수학 코드를 쓸 때는 앞에 `@수학`을 써야 해요.

***

### 파이썬 대응 코드

```
math.radians(deg)
math.degrees(rad)
```

***

### 예시

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

```
# 각도를 라디안으로 변환
@수학 180 라디안으로 보여주기

# 라디안을 각도로 변환
@수학 (@수학 파이) 각도로 보여주기
@수학 3.14 각도로 보여주기
```

{% endcode %}

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

```
3.141592653589793
180
179.90874767107852
```

{% 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-9.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.
