Mathematical concepts
Radians and degrees
Also called: rad · angle units · 2π · math.radians
Definition
A radian is the angle at which the arc length equals the radius. A full turn is 2π radians, which is 360 degrees.
Picture it
Radians measure angle in 'radius-lengths of arc', which is why arc length is simply s = rθ and why calculus formulas look clean in radians. Programming languages expect radians in sin, cos and tan.
The maths
θ_rad = θ_deg × π / 180 arc length s = r × θ_rad
| Quantity | Unit | Symbol |
|---|---|---|
| angle | radian | rad |
| angle | degree | ° |
| length | metre | m |
Worked example
Convert 45° to radians, and find the arc length a wheel of radius 0.1 m rolls through as it turns 45°.
- 45 × π / 180 = π / 4 = 0.785 rad
- s = 0.1 × 0.785 = 0.0785 m
Answer0.785 rad; 0.0785 m (7.85 cm).
✓ The 2 numbers in this answer are recomputed from scratch by an automated test.
In Python
import math
print(math.sin(30)) # -0.988: 30 radians!
print(math.sin(math.radians(30))) # 0.5 (approximately)SOH CAH TOA
Trig ratios on a rotating arm
sin θ = 0.5 · cos θ = 0.866 · tan θ = 0.577
Arm tip: x = 0.866 m, y = 0.5 m
Arm tip: x = 0.866 m, y = 0.5 m
The arm tip sits at (L cos θ, L sin θ). In code, convert degrees to radians first.
Common misconceptions
- Misconception: math.sin(30) in Python is the sine of 30 radians, not 30 degrees.
- Misconception: Radians are dimensionless (a length over a length), which is why they can vanish from units in v = ωr.