Forty Minutes Out: Speed
Q. A man walks on a straight road from his homekm to a market 2.5 kmkm away with a speed of 5 km/hkm/h. Finding the market closed, he instantly turns and walks back home with a speed of 7.5 km/hkm/h. What is the average speed of the man over the interval of time 0 to 40 minmin, in km/h?
Inputs
Outputs
average speed?
How it's solved
Solved with Velocity
Given
- km
- km/h
- km/h
- min
- km from “from his home”
- from “on a straight road”
- from “walks back home”
Find .
Working
- kmm
- km/hm/s
- km/hm/s
- mins
- kmm
- on a straight road
- m/s
- change of position(to market)
- m
- displacement a time(to market)
- s
- path a time(to market)
- m
- time in parts(walking)
- s
- path a time(turning back)
- m
- path in parts(walking)
- m
- path a time(walking)
- km/h
- m/skm/h
- km/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.
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"10end1require_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."19endplayground.rb
1require_relative "../solutions/forty_minutes_out_speed"23play_with :forty_minutes_out_speed do4 title "Forty Minutes Out: Speed"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 | |
| displacement of man during to market | m | — | ||
| position of man at market | m | — | ||
| position of man at start | m | — | ||
| displacement of man during turning back | m | — | ||
| position of man at later | m | — | ||
| displacement of man during walking | m | — | ||
| average velocity of man during to market | m/s | — | ||
| time taken of to market | s | 0 … 1e+05 | ||
| average velocity of man during turning back | m/s | — | ||
| time taken of turning back | s | 0 … 1e+05 | ||
| average velocity of man during walking | m/s | — | ||
| time taken of walking | s | 0 … 1e+05 | ||
| average speed of man during to market | m/s | — | ||
| path length of man during to market | m | — | ||
| average speed of man during turning back | m/s | — | ||
| path length of man during turning back | m | — | ||
| average speed of man during walking | m/s | — | ||
| path length of man during walking | m | — |