play phryzby with physics

Forty Minutes Out: Speed

solved Velocity

Q. A man walks on a straight roadvav(to)=cav(to) from his homex(start)=0km to a market 2.5 kmx(market)=2.5km away with a speed of 5 km/hcav(to)=5km/h. Finding the market closed, he instantly turns and walks back homevav(tu)=−cav(tu) with a speed of 7.5 km/hcav(tu)=7.5km/h. What is the average speed of the man over the interval of time 0 to 40 minΔtw=40min, in km/h?

x₀ = 0 mv̄ = ?
Inputs
x
2.5 km
cav
5 km/h
cav
7.5 km/h
Δtw
40 min
Outputs
average speedcav?

How it's solved

Solved with Velocity

Given

  • x(market)=2.5km
  • cav(to)=5km/h
  • cav(tu)=7.5km/h
  • Δtw=40min
  • x(start)=0km from “from his home”
  • vav(to)=cav(to) from “on a straight road”
  • vav(tu)=−cav(tu) from “walks back home”

Find cav(w).

Working
  1. x(market)=2.5km=2500m
  2. cav(to)=5km/h=1.38888889m/s
  3. cav(tu)=7.5km/h=2.08333333m/s
  4. Δtw=40min=2400s
  5. x(start)=0km=0m
  6. on a straight roadvav(to)=cav(to)
  7. vav(to)=1.38888889
  8. vav(to)=1.38888889m/s
  9. change of position(to market)Δx(to)=x(market)-x(start)
  10. Δx(to)=2500-0
  11. Δx(to)=2500m
  12. displacement a time(to market)vav(to)=Δx(to)Δtto
  13. 1.38888889=2500Δtto
  14. Δtto=1800s
  15. path a time(to market)cav(to)=d(to)Δtto
  16. 1.38888889=d(to)1800
  17. d(to)=2500m
  18. time in parts(walking)Δtw=Δtto+Δttu
  19. 2400=1800+Δttu
  20. Δttu=600s
  21. path a time(turning back)cav(tu)=d(tu)Δttu
  22. 2.08333333=d(tu)600
  23. d(tu)=1250m
  24. path in parts(walking)d(w)=d(to)+d(tu)
  25. d(w)=2500+1250
  26. d(w)=3750m
  27. path a time(walking)cav(w)=d(w)Δtw
  28. cav(w)=37502400
  29. cav(w)=5.625km/h
  30. cav(w)=1.5625m/s=5.625km/h
  31. cav(w)≈5.625km/hto 4 significant figures
Conclusion

Average speed counts the whole path, out to the market and part of the way back, so it is more than the size of the average velocity over the same time.

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 :forty_minutes_out_speed do4  kind :numerical5  describes "A man walks on a straight road from his home to a market %{distance} away with a speed of " \6            "%{speed_there}. Finding the market closed, he instantly turns and walks back home with a speed of " \7            "%{speed_back}. %{average_speed} over the interval of time 0 to %{interval}, in km/h?"8  given distance: "2.5 km", speed_there: "5 km/h", speed_back: "7.5 km/h", interval: "40 min"9  asks average_speed: "What is the average speed of the man"10end
solution.rb
1require_relative "../questions/forty_minutes_out_speed"2require_relative "../science/motion_in_a_straight_line/velocity"34solve :forty_minutes_out_speed, using: Velocity do5  objects :man6  instants :start, :market, :later7  man.goes(:to_market, during: start..market)8  man.goes(:turning_back, during: market..later)9  man.goes(:walking, during: start..later)10  take distance: man.position(at: market), speed_there: to_market.average_speed,11       speed_back: turning_back.average_speed, interval: walking.time_taken12  deduce_from "from his home", man.position(at: start) => "0 km"13  deduce_from "on a straight road", to_market.average_velocity => to_market.average_speed14  deduce_from "walks back home", turning_back.average_velocity => -turning_back.average_speed15  average_speed = walking.average_speed16  answer average_speed:, in: "km/h", figures: 417  conclusion "Average speed counts the whole path, out to the market and part of the way back, so it is " \18             "more than the size of the average velocity over the same time."19end
playground.rb
1require_relative "../solutions/forty_minutes_out_speed"23play_with :forty_minutes_out_speed do4  title "Forty Minutes Out: Speed"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
displacement of man during to marketΔx(to)m—
position of man at marketx(market)m—
position of man at startx(start)m—
displacement of man during turning backΔx(tu)m—
position of man at laterx(later)m—
displacement of man during walkingΔx(w)m—
average velocity of man during to marketvav(to)m/s—
time taken of to marketΔttos0 … 1e+05
average velocity of man during turning backvav(tu)m/s—
time taken of turning backΔttus0 … 1e+05
average velocity of man during walkingvav(w)m/s—
time taken of walkingΔtws0 … 1e+05
average speed of man during to marketcav(to)m/s—
path length of man during to marketd(to)m—
average speed of man during turning backcav(tu)m/s—
path length of man during turning backd(tu)m—
average speed of man during walkingcav(w)m/s—
path length of man during walkingd(w)m—
x0≡xi(start of motion)
starting position
x≡xi(end of motion)
final position
di(whole)=di(part 1)+di(part 2)
path in parts
Δtw=Δtp+Δtp
time in parts
Δx(to)=x(market)-x(start)
change of position(to market)
Δx(tu)=x(later)-x(market)
change of position(turning back)
Δx(w)=x(later)-x(start)
change of position(walking)
vav(to)=Δx(to)Δtto
displacement a time(to market)
vav(tu)=Δx(tu)Δttu
displacement a time(turning back)
vav(w)=Δx(w)Δtw
displacement a time(walking)
cav(to)=d(to)Δtto
path a time(to market)
cav(tu)=d(tu)Δttu
path a time(turning back)
cav(w)=d(w)Δtw
path a time(walking)
d(w)=d(to)+d(tu)
path in parts(walking)
Δtw=Δtto+Δttu
time in parts(walking)
vav(to)=cav(to)
on a straight road
vav(tu)=−cav(tu)
walks back home