play phryzby with physics

Galileo's Odd Numbers

solved UniformAcceleration

Q. A body falls from restv0=0m/s. In successive equal intervals of time, the distances it falls are in the ratio

x₀ = 0 mv₀ = 0 m/s

How it's solved

Solved with UniformAcceleration

Given

  • v0=0m/s from “from rest”

Assumed

  • x0=0m

Find how x1 goes with Δt.

Working
  1. position after a time(falling)x1=x0+v0⋅Δt+a⋅Δt22
  2. x1=a⋅Δt22
  3. x1∝Δt2a held
  4. Δt×0⇒x1×0
  5. Δt×1⇒x1×1
  6. Δt×2⇒x1×4
  7. Δt×3⇒x1×9
  8. Δt×4⇒x1×16
  9. 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.

question.rb
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: :same12end
solution.rb
1require_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."21end
playground.rb
1require_relative "../solutions/galileos_odd_numbers"23play_with :galileos_odd_numbers do4  title "Galileo's Odd Numbers"5end
The laws it drew on
quantitywrittenunitswithinfrom
positionxm—Velocity
displacementΔxm—Velocity
path lengthdm—Velocity
time takenΔts0 … 1e+05Velocity
average velocityvavm/s—Velocity
average speedcavm/s—Velocity
starting positionx0m—Velocity
final positionxm—Velocity
velocityvm/s—Acceleration
change of velocityΔvm/s—Acceleration
average accelerationaavm/s²—Acceleration
starting velocityv0m/s—Acceleration
final velocityvm/s—Acceleration
accelerationam/s²—UniformAcceleration
gravitygm/s²—UniformAcceleration
timets0 … 1e+05UniformAcceleration
displacement of body during fallingΔxm—
position of body at end of fallingx1m—
position of body at start of fallingx0m—
average velocity of body during fallingvavm/s—
time taken of fallingΔts0 … 1e+05
average speed of body during fallingcavm/s—
path length of body during fallingdm—
change of velocity of body during fallingΔvm/s—
velocity of body at end of falling from groundv1m/s—
velocity of body at start of falling from groundv0m/s—
average acceleration of body during fallingaavm/s²—
acceleration of body during fallingam/s²—
x0≡xi(start of motion)
starting position
x≡xi(end of motion)
final position
v0≡vi(start of motion)
starting velocity
v≡vi(end of motion)
final velocity
t≡Δtm
time
di(whole)=di(part 1)+di(part 2)
path in parts
Δtw=Δtp+Δtp
time in parts
ai(part 1)=ai(whole)
steady through its parts
Δx=x1-x0
change of position(falling)
vav=ΔxΔt
displacement a time(falling)
cav=dΔt
path a time(falling)
Δv=v1-v0
velocity gained(falling)
aav=ΔvΔt
velocity gained a time(falling)
v1=v0+a⋅Δt
velocity after a time(falling)
x1=x0+v0⋅Δt+a⋅Δt22
position after a time(falling)
v12=v02+2⋅a⋅(x1-x0)
velocity after a distance(falling)
x1-x0=(v1+v0)⋅Δt2
mean of the velocities(falling)