A problem with degree measurement of angles is that degrees are arbitrary.
A circle does not naturally contain 360^{\circ}. Humans just made that up.
A natural way to measure angles is to divide arc length by radius.
In other words, we use the radius as a ruler to measure the arc. This is called radian measure.
Click to the left again to hide and once more to show the dynamic interactive window |
If s = arc length, r = radius length, and \theta = a central angle, then in radian measure \theta = \frac{s}{r}.
This lets us easily define arc length as s = \theta \cdot r.
|
|
The ratio of arc length to circumference is equal to the ratio of degree measure to 360^{\circ}:
\frac{s}{2\pi r} = \frac{D}{360}
\frac{\theta r}{2\pi r} = \frac{D}{360}
\frac{\theta}{2\pi} = \frac{D}{360}
\frac{\theta}{\pi} = \frac{D}{180}
\theta = \frac{\pi}{180} D
D = \frac{180}{\pi} \theta
|
|
\newcommand{\Bold}[1]{\mathbf{#1}}30
\newcommand{\Bold}[1]{\mathbf{#1}}30
|
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{1}{6} \, \pi
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{1}{6} \, \pi
|
Of course, Python already contains this stuff in its math library:
|
|
\newcommand{\Bold}[1]{\mathbf{#1}}30.0
\newcommand{\Bold}[1]{\mathbf{#1}}30.0
|
\newcommand{\Bold}[1]{\mathbf{#1}}0.523598775598
\newcommand{\Bold}[1]{\mathbf{#1}}0.523598775598
|
Interesting point - the Python functions return real numbers, but the Sage functions we wrote return the exact values.
|
|
A degree contains 60 minutes (no reference to a news show intended), and a minute contains 60 seconds.
|
|
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{55043}{3600}
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{55043}{3600}
|
\newcommand{\Bold}[1]{\mathbf{#1}}15.2897222222222
\newcommand{\Bold}[1]{\mathbf{#1}}15.2897222222222
|
|
|
\newcommand{\Bold}[1]{\mathbf{#1}}\left[15, 17, 23\right]
\newcommand{\Bold}[1]{\mathbf{#1}}\left[15, 17, 23\right]
|
|
|
Given a point (x, y) on the terminal side of angle \theta, evaluate the six trig functions for \theta.
If the function at that point is undefined, return \infty.
|
|
|
|
|
|
Given a point (x, y) on the terminal side of angle \theta, find \theta in radian measure.
|
|
|
|
Given a point (x, y) on the terminal side of angle \theta, find the arc length s.
|
|
|
|
|
|