Galileo's Odd Numbers
Q. A body falls from restm/s. In successive equal intervals of time, the distances it falls are in the ratio
How it's solved
Solved with UniformAcceleration
Given
- m/s from “from rest”
Assumed
- m
Find how goes with .
Working
- position after a time(falling)
- held
- so in each equal interval in turn it falls 1 : 3 : 5 : 7
Conclusion
The distance fallen grows as the square of the time, so what each equal interval adds is the difference of two squares in a row: the odd numbers. Galileo found this before anyone could write the equation down.
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 :galileos_odd_numbers do4 kind :scq5 describes "A body falls from rest. In successive equal intervals of time, the distances it falls are " \6 "in the ratio"78 option "1 : 3 : 5 : 7 …", as: :odd9 option "1 : 2 : 3 : 4 …", as: :counting10 option "1 : 4 : 9 : 16 …", as: :squares11 option "1 : 1 : 1 : 1 …", as: :same12end1require_relative "../questions/galileos_odd_numbers"2require_relative "../science/motion_in_a_straight_line/uniform_acceleration"34solve :galileos_odd_numbers, using: UniformAcceleration do5 objects :body6 body.goes(:falling)78 deduce_from "from rest", body.initial_velocity => "0 m/s"9 assume body.initial_position => "0 m"10 take odd: [ 1, 3, 5, 7 ], counting: [ 1, 2, 3, 4 ], squares: [ 1, 4, 9, 16 ], same: [ 1, 1, 1, 1 ]11 rel = find_relation body.final_position, to: falling.time_taken12 fallen = ->(n) { rel.find body.final_position, when: { falling.time_taken => n.times } }13 steps = (1..4).map { |n| fallen[n] - fallen[n - 1] }14 note "so in each equal interval in turn it falls #{steps.join(" : ")}"1516 answer steps1718 conclusion "The distance fallen grows as the square of the time, so what each equal interval " \19 "adds is the difference of two squares in a row: the odd numbers. Galileo found this " \20 "before anyone could write the equation down."21endplayground.rb
1require_relative "../solutions/galileos_odd_numbers"23play_with :galileos_odd_numbers do4 title "Galileo's Odd Numbers"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| position | m | — | Velocity | |
| displacement | m | — | Velocity | |
| path length | m | — | Velocity | |
| time taken | s | 0 … 1e+05 | Velocity | |
| average velocity | m/s | — | Velocity | |
| average speed | m/s | — | Velocity | |
| starting position | m | — | Velocity | |
| final position | m | — | Velocity | |
| velocity | m/s | — | Acceleration | |
| change of velocity | m/s | — | Acceleration | |
| average acceleration | m/s² | — | Acceleration | |
| starting velocity | m/s | — | Acceleration | |
| final velocity | m/s | — | Acceleration | |
| acceleration | m/s² | — | UniformAcceleration | |
| gravity | m/s² | — | UniformAcceleration | |
| time | s | 0 … 1e+05 | UniformAcceleration | |
| displacement of body during falling | m | — | ||
| position of body at end of falling | m | — | ||
| position of body at start of falling | m | — | ||
| average velocity of body during falling | m/s | — | ||
| time taken of falling | s | 0 … 1e+05 | ||
| average speed of body during falling | m/s | — | ||
| path length of body during falling | m | — | ||
| change of velocity of body during falling | m/s | — | ||
| velocity of body at end of falling from ground | m/s | — | ||
| velocity of body at start of falling from ground | m/s | — | ||
| average acceleration of body during falling | m/s² | — | ||
| acceleration of body during falling | m/s² | — |