Sunlight on Its Way
Q. Suppose the unit of length were the distance light goes in one secondm/s. Sunlight takes 8 minutes 20 secondss to reach us. How far is the Sun in that unit?
Outputs
distance?
How it's solved
Solved with Units
Given
- m/s from “the distance light goes in one second”
- s from “8 minutes 20 seconds”
Find .
Working
- distance at light speed
- m
- mto 3 significant figures
Conclusion
Choose light's own travel as the unit of length and its speed becomes one, so a distance and its travel time are the same number.
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.
1require_relative "../physics"23question :sunlight_on_its_way do4 kind :numerical5 describes "Suppose the unit of length were the distance light goes in one second. Sunlight takes 8 minutes 20 seconds to reach us. %{distance}?"6 asks distance: "How far is the Sun in that unit"7end1require_relative "../questions/sunlight_on_its_way"2require_relative "../science/units_and_measurement/units"34solve :sunlight_on_its_way, using: Units do5 deduce_from "the distance light goes in one second", c: 1.06 deduce_from "8 minutes 20 seconds", t_light: "500 s"7 take distance: :d_light8 answer find_value(:distance, figures: 3)910 conclusion "Choose light's own travel as the unit of length and its speed becomes one, so a " \11 "distance and its travel time are the same number."12endplayground.rb
1require_relative "../solutions/sunlight_on_its_way"23play_with :sunlight_on_its_way do4 title "Sunlight on Its Way"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| speed of light | m/s | — | Units | |
| avogadro constant | mol⁻¹ | — | Units | |
| length | m | 0 … ∞ | Units | |
| mass | kg | — | Units | |
| time | s | 0 … ∞ | Units | |
| electric current | A | — | Units | |
| temperature | K | — | Units | |
| amount of substance | mol | — | Units | |
| luminous intensity | cd | — | Units | |
| arc length | m | — | Units | |
| radius | m | 0 … ∞ | Units | |
| plane angle | — | — | Units | |
| area | m² | — | Units | |
| solid angle | — | — | Units | |
| light time | s | — | Units | |
| light distance | m | — | Units | |
| number of entities | — | — | Units | |
| baseline | m | — | Units | |
| distance away | m | — | Units | |
| parallax angle | — | — | Units |