play phryzby with physics

Reflectance

solved Reflection · Reflectance

Q. Light meets a surface between indices μ1 and μ2 at i. How much of it gets through?

μ₁ airμ₂ glassnormalincident50.0°reflected 6%refracted 94%30.7°
Inputs
i
50.00°
μ1
1air
μ2
1.5glass
Outputs
angle of refractionrr30.71°
no refracted ray?no
reflectance s polarisedrs11.2%
reflectance p polarisedrp0.3%
reflectancer5.8%
transmittanceτ94.2%

How it's solved

Solved with Reflection, Reflectance

Given

  • i, μ1, μ2 yours to vary

Find rr, whether there is no refracted ray, rs, rp, r, τ.

Working
  1. snells lawμ1⋅sin⁡i=μ2⋅sin⁡rr
  2. 1⋅sin⁡50°=1.5⋅sin⁡rr
  3. rr=30.71°
  4. s polarisedrs=(μ1⋅cos⁡i-μ2⋅cos⁡rrμ1⋅cos⁡i+μ2⋅cos⁡rr)2
  5. rs=(1⋅cos⁡50°-1.5⋅cos⁡30.71°1⋅cos⁡50°+1.5⋅cos⁡30.71°)2
  6. rs=11.2%
  7. p polarisedrp=(μ1⋅cos⁡rr-μ2⋅cos⁡iμ1⋅cos⁡rr+μ2⋅cos⁡i)2
  8. rp=(1⋅cos⁡30.71°-1.5⋅cos⁡50°1⋅cos⁡30.71°+1.5⋅cos⁡50°)2
  9. rp=0.3%
  10. unpolarisedr=rs+rp2
  11. r=0.112048357+0.003277532152
  12. r=5.8%
  13. reflected and transmitted share the lightr+τ=1
  14. 0.0576629447+τ=1
  15. τ=94.2%
  16. no refracted ray?i>cno
Conclusion

It depends on the angle, and on polarisation: the two polarisations are reflected in quite different measure, and at one angle one of them is not reflected at all.

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 :reflectance do4  describes "Light meets a surface between indices %{first_index} and %{second_index} at %{angle}. %{transmitted}?"5  given :angle6  given :first_index7  given :second_index8  asks transmitted: "How much of it gets through"9end
solution.rb
1require_relative "../questions/reflectance"2require_relative "../science/ray_optics_and_optical_instruments/reflection"3require_relative "../science/ray_optics_and_optical_instruments/reflectance"45solve :reflectance, using: [ Reflection, Reflectance ] do6  take angle: :i, first_index: :mu_1, second_index: :mu_27  find_value :r_r8  find_whether :no_refracted_ray?9  find_value :r_s10  find_value :r_p11  find_value :r12  take transmitted: :tau13  find_value :transmitted1415  conclusion "It depends on the angle, and on polarisation: the two polarisations are reflected in quite different measure, and at one angle one of them is not reflected at all."16end
playground.rb
1require_relative "../solutions/reflectance"2require_relative "../science/ray_optics_and_optical_instruments/refractive_media"3require_relative "../pictures/light"45INDEX = 1.0..4.067play_with :reflectance do8  title "Reflectance"910  input :i, default: 50.deg11  input :mu_1, INDEX, default: 1.0, marks: REFRACTIVE_MEDIA12  input :mu_2, INDEX, default: 1.5, marks: REFRACTIVE_MEDIA1314  output :r_r15  output :no_refracted_ray?, alarm: true16  output :r_s, in: "%"17  output :r_p, in: "%"18  output :r,  in: "%"19  output :tau, in: "%"2021  draw Light::Picture do22    media :mu_1, :mu_223    ray "incident",  arriving_at: :i, angle: true24    ray "reflected", leaving_at: :i, weight: :r25    ray "refracted", crossing_at: :r_r, angle: true,26        weight: :tau, unless: :no_refracted_ray?27    mark "critical", arriving_at: :c28    note "no refracted ray — Fresnel has nothing to say", when: :no_refracted_ray?29  end30end
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
reflectance s polarisedrs——Reflectance
reflectance p polarisedrp——Reflectance
reflectancer——Reflectance
transmittanceτ——Reflectance
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
rs=(μ1⋅cos⁡i-μ2⋅cos⁡rrμ1⋅cos⁡i+μ2⋅cos⁡rr)2
s polarised
rp=(μ1⋅cos⁡rr-μ2⋅cos⁡iμ1⋅cos⁡rr+μ2⋅cos⁡i)2
p polarised
r=rs+rp2
unpolarised
r+τ=1
reflected and transmitted share the light
rr=90°
grazing exit?
i>c
no refracted ray?
rr<i
bends toward the normal?
rr>i
bends away from the normal?