What is math.degrees(math.pi / 2)?
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
math.degrees(\frac{\pi}{2}) = \frac{\pi}{2} \times \frac{180^{\circ}}{\pi} = 90^{\circ}
The function math.degrees(x) converts radians to degrees. Since $\pi$ radians equals $180^{\circ}$, $\frac{\pi}{2}$ radians equals $\frac{180^{\circ}}{2} = 90^{\circ}$.