play phryzby with physics

Incidence

solved Incidence

Q. What is there to measure when a ray hits a surface at i?

surfacenormalincident30.0°
Inputs
i
30.00°

How it's solved

Solved with Incidence

Given

  • i yours to vary
Conclusion

The angle it makes with the normal, and nothing else. It is declared and never derived: no equation gives it, so asking for it is asking the book a question it cannot answer.

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 :incidence do4  describes "What is there to measure when a ray hits a surface at %{angle}?"5  given :angle6end
solution.rb
1require_relative "../questions/incidence"2require_relative "../science/ray_optics_and_optical_instruments/incidence"34solve :incidence, using: Incidence do5  take angle: :i6  conclusion "The angle it makes with the normal, and nothing else. It is declared and never derived: no equation gives it, so asking for it is asking the book a question it cannot answer."7end
playground.rb
1require_relative "../solutions/incidence"2require_relative "../pictures/light"34play_with :incidence do5  title "Incidence"67  input :i, default: 30.deg89  draw Light::Picture do10    surface11    ray "incident", arriving_at: :i, angle: true12  end13end
The laws it drew on
quantitywrittenunitswithinfrom
angle to the normalθ—0 … 1.571Incidence
angle of incidencei—0 … 1.571Incidence
i≡θi(before)
angle of incidence