The Constant Ratio Lab
Drag the glowing corner or use the sliders. With θ locked, resizing never changes the ratios.Eratosthenes used a shadow angle to estimate Earth’s size, and Galileo estimated lunar mountain heights from their shadows. Surveyors still rely on the same ratios.
A character moving at speed v at angle θ has vx = v·cos θ and vy = v·sin θ.
Tangent is rise ÷ run, which sets the slope of roofs, bridges and wheelchair ramps.
The Unit Circle & Wave Unroller
With radius 1, the point’s height is sin θ and its width is cos θ. Tracing them over time gives waves.Purple radius (length 1) · green sin θ · blue cos θ · red tan θ, the height where the radius line meets x = 1. Drag the circle; it snaps near multiples of 15°.
height on circle
horizontal position
slope of radius line
Generators spin magnets in a circle, giving the 50/60 Hz sine wave at your socket.
A pure tone is a sine wave; real notes are sums of sines. Noise-cancelling headphones add an inverted copy (shifted by π) to cancel much of the noise.
Satellite positions along their orbits are computed with cos and sin; your phone times signals from 4+ satellites to locate you within metres.
Inverse sine: finding the unique angle
A horizontal line hits sin θ infinitely often (red). arcsin picks the single green point in [−90°, +90°].A function returns one answer per input, so arcsin is defined on the restricted domain [−90°, +90°]. Otherwise arcsin(0.5) could be 30°, 150°, 390° …
Robotics: inverse kinematics turns a target (x, y) into joint angles using atan2 and arccos (law of cosines).
Euler’s formula: eiθ = cos θ + i·sin θ
Multiplying by i turns a point by 90°. An imaginary exponent turns growth into rotation.Euler’s identity: eiπ + 1 = 0 links e, i, π, 1 and 0.
Signals: Wi-Fi, 5G and MRI rely on the Fast Fourier Transform, built on eiθ, to separate many overlapping frequency components.
Taylor series: a curve from simple powers
The dashed polynomial hugs sin x near 0 and drifts away farther out. More terms widen the fit.In practice: libraries reduce the angle to a small range, then use a short polynomial (a close cousin of Taylor, usually minimax) or CORDIC.