Snell's Law Refraction Calculator
📐 計算公式
斯涅爾折射定律(本頁程式碼口徑):s=n₁×sin(θ₁)÷n₂,θ₂=arcsin(s)×180÷π(°,θ₁ 先化弧度 θ₁×π÷180)。校驗:n₁、n₂ 須 > 0;入射角為相對法線角度,須 0° ≤ θ₁ < 90°,空值/越界即提示並中止。判據:s>1 時無實折射角,判定「發生全反射(無折射)」,否則輸出折射角 θ₂。
Compute the refraction angle from incidence angle and the two refractive indices using n₁sinθ₁ = n₂sinθ₂, and detect total internal reflection. For geometrical optics and fiber transmission.
Standards & References
| Item | Standard / Source | Key Point |
|---|---|---|
| Snell's law | Snell (1621); Descartes (1637); Classic optics (Hecht, Optics, 5th ed.) | n1*sinθ1 = n2*sinθ2 |
📌 計算說明
- n₁sinθ₁ = n₂sinθ₂。
- 光從空氣入玻璃會向法線偏折。