play phryzby with physics

Internal Reflection

solved Reflection · Refraction

Q. Light in waterμ1=1.33 meets airμ2=1 at i. What happens to the light that is not refracted?

waterairnormalincident60.0°reflected60.0°all of it turns back
Inputs
i
60.00°
Outputs
angle of reflectionrl60.00°
angle of refractionrr—
no refracted ray?yes

How it's solved

Solved with Reflection, Refraction

Given

  • μ1=1.33 from “water”
  • μ2=1 from “air”
  • i yours to vary

Find rl, rr, whether there is no refracted ray.

Working
  1. law of reflectioni=rl
  2. 60°=rl
  3. rl=60.00°
  4. snells law when grazing exitμ1⋅sin⁡c=μ2⋅sin⁡90°
  5. 1.33⋅sin⁡c=1⋅sin⁡90°
  6. c=48.75°
  7. rr=—
  8. no refracted ray?i>cyes
Conclusion

It turns back into the water, and past this angle that is all of the light: the surface is a mirror. Slide down and the other ray returns, because some of it turns back at every angle.

The web of concepts

given read from the words equation asked

The Ruby that solves it

The question and its solution are small Ruby files. The engine runs them.

question.rb
1require_relative "../physics"23question :internal_reflection do4  describes "Light in water meets air at %{angle}. %{reflected}?"5  given :angle6  asks reflected: "What happens to the light that is not refracted"7end
solution.rb
1require_relative "../questions/internal_reflection"2require_relative "../science/ray_optics_and_optical_instruments/reflection"3require_relative "../science/ray_optics_and_optical_instruments/refraction"4require_relative "../science/ray_optics_and_optical_instruments/refractive_media"56solve :internal_reflection, using: [ Reflection, Refraction ] do7  take angle: :i8  deduce_from "water", mu_1: REFRACTIVE_MEDIA.fetch("water")9  deduce_from "air", mu_2: REFRACTIVE_MEDIA.fetch("air")10  take reflected: :r_l11  find_value :reflected12  find_value :r_r13  find_whether :no_refracted_ray?1415  conclusion "It turns back into the water, and past this angle that is all of the light: the surface is a mirror. Slide down and the other ray returns, because some of it turns back at every angle."16end
playground.rb
1require_relative "../solutions/internal_reflection"2require_relative "../science/ray_optics_and_optical_instruments/refractive_media"3require_relative "../pictures/light"45play_with :internal_reflection do6  title "Internal Reflection"78  input :i, default: 60.deg910  output :r_l11  output :r_r12  output :no_refracted_ray?, alarm: true1314  draw Light::Picture, rising: true do15    media "water", "air"16    ray "incident",  arriving_at: :i,  angle: true17    ray "reflected", leaving_at:  :r_l, angle: true18    ray "refracted", crossing_at: :r_r, angle: true, unless: :no_refracted_ray?19    note "all of it turns back", when: :no_refracted_ray?20  end21end
The laws it drew on
quantitywrittenunitswithinfrom
angle to the normalθ—0 … 1.571Incidence
angle of incidencei—0 … 1.571Incidence
angle of reflectionrl—0 … 1.571Reflection
refractive indexμ——Refraction
angle of refractionrr—0 … 1.571Refraction
refractive index of first mediumμ1——Refraction
refractive index of second mediumμ2——Refraction
critical anglec—0 … 1.571Refraction
i≡θi(before)
angle of incidence
rl≡θi(after)
angle of reflection
rr≡θi(after)
angle of refraction
μ1≡μb
refractive index of first medium
μ2≡μa
refractive index of second medium
i=rl
law of reflection
μ1⋅sin⁡i=μ2⋅sin⁡rr
snells law
μ1⋅sin⁡c=μ2⋅sin⁡90°
snells law when grazing exit
rr=90°
grazing exit?
i>c
no refracted ray?
rr<i
bends toward the normal?
rr>i
bends away from the normal?