freeCodeCamp/guide/portuguese/mathematics/converting-between-radians-.../index.md

31 lines
712 B
Markdown
Raw Normal View History

---
title: Converting Between Radians and Degrees
localeTitle: Conversão entre radianos e graus
---
## Conversão entre radianos e graus
### Fórmulas Gerais
As seguintes fórmulas podem ser usadas para converter entre radianos e graus:
```
r = d * (π / 180)
d = r * (180 / π)
where r is the angle in radians and d is the angle in degrees.
```
### Exemplos
Converta 2π / 3 radianos em graus:
```
2π/3 * 180/π = 360π/3π = 360/3 = 120 degrees
```
Converta 30 graus em radianos:
```
30 * π/180 = 30π/180 = π/6 or (1/6)π radians
Note: Radians are usually expressed in terms of π instead of a rounded decimal as this form represents the actual value rather than an approximation.
```