Category: Trigonometry Level: 201
y = sin θ is the height of the point at angle θ
Walk a point around the unit circle and record its height at each angle. Laid out flat, those heights trace the sine wave.
Start at angle θ = π/3 (60°) on the unit circle. The graph on the right uses θ as its horizontal axis, measured in radians.
θ = π/3 ≈ 1.047
The height of the point above the horizontal axis is sin θ. At π/3 it is √3/2 ≈ 0.866.
sin(π/3) = √3/2 ≈ 0.866
Copy that same height to the graph, standing at θ = π/3 on the horizontal axis. The dashed line keeps the height honest.
(θ, sin θ) = (π/3, 0.866)
Do the same every π/4. The heights rise to 1 at π/2, fall to 0 at π, reach −1 at 3π/2, and return to 0 at 2π.
sin 0 = 0, sin(π/2) = 1, sin π = 0, sin(3π/2) = -1, sin 2π = 0
Join the heights with a smooth curve. The wave repeats every 2π because the point keeps going around the same circle, like a hamster on a wheel.
y = sin θ, period 2π, range [-1, 1]
cd svg-generator python3 -m svgmath render sine-from-circle --out /tmp/sine-from-circle
Source: svgmath/diagrams/trig_graphs.py