play phryzby with physics

The Long Way Round: Velocity

solved MotionInAPlane

Q. A hotel is 10 kmx=10km from the station along a straight road, but a dishonest driver takes a 23 km route and gets there in 28 minΔt=28min. What is the size of the taxi's average velocity, in km/h?

displacementt = 1680 saverage velocity = ?
Inputs
x
10 km
Δt
28 min
Outputs
average velocityvav?

How it's solved

Solved with MotionInAPlane

Given

  • x=10km
  • Δt=28min

Assumed

  • x0=0km

Find vav.

Working
  1. x=10km=10000m
  2. Δt=28min=1680s
  3. x0=0km=0m
  4. change of positionΔx=x-x0
  5. Δx=10000-0
  6. Δx=10000m
  7. displacement a timevav=ΔxΔt
  8. vav=100001680
  9. vav=21.43km/h
  10. vav=5.95238095m/s=21.4285714km/h
  11. vav≈21.4km/hto 3 significant figures
Conclusion

Average velocity asks only how far the hotel is from the station, so the detour makes the taxi slower by this measure, not faster. The two agree only for a straight run.

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 :the_long_way_round_velocity do4  kind :numerical5  describes "A hotel is %{distance} from the station along a straight road, but a dishonest driver takes a " \6          "23 km route and gets there in %{time}. %{average_velocity}, " \7          "in km/h?"8  given distance: "10 km"9  given time: "28 min"10  asks average_velocity: "What is the size of the taxi's average velocity"11end
solution.rb
1require_relative "../questions/the_long_way_round_velocity"2require_relative "../science/motion_in_a_plane/motion_in_a_plane"34solve :the_long_way_round_velocity, using: MotionInAPlane do5  take distance: :x, time: :Delta_t6  assume x_0: "0 km"7  take average_velocity: :v_av8  answer find_value(:average_velocity, in: "km/h", figures: 3)910  conclusion "Average velocity asks only how far the hotel is from the station, so the detour " \11             "makes the taxi slower by this measure, not faster. The two agree only for a " \12             "straight run."13end
playground.rb
1require_relative "../solutions/the_long_way_round_velocity"23play_with :the_long_way_round_velocity do4  title "The Long Way Round: Velocity"5end
The laws it drew on
quantitywrittenunitswithinfrom
volumevolume——Vectors
massmass——Vectors
speedspeed——Vectors
densitydensity——Vectors
number of molesn——Vectors
angular frequencyangularfrequency——Vectors
workwork——Vectors
currentcurrent——Vectors
temperaturetemperature——Vectors
pressurepressure——Vectors
timets0 … 1e+05Vectors
powerpower——Vectors
total path lengths——Vectors
energyenergy——Vectors
gravitational potentialgravitationalpotential——Vectors
coefficient of frictionμ——Vectors
chargecharge——Vectors
accelerationam/s²—Vectors
velocityvm/s—Vectors
displacementΔxm—Vectors
angular velocityangularvelocity——Vectors
forceforce——Vectors
angular momentumangularmomentum——Vectors
linear momentumplin——Vectors
electric fieldelectricfield——Vectors
average velocityvavm/s—Vectors
magnetic momentmagneticmoment——Vectors
relative velocityvAB——Vectors
impulseimpulse——Vectors
first vectorA—0 … ∞Vectors
second vectorB—0 … ∞Vectors
angle betweenφ—0 … 3.142Vectors
resultantR—0 … ∞Vectors
resultant directionβ—0 … 3.142Vectors
directionα—-3.142 … 3.142Vectors
x componentAx——Vectors
y componentAy——Vectors
positionxm—Velocity
path lengthdm—Velocity
time takenΔts0 … 1e+05Velocity
average speedcavm/s—Velocity
starting positionx0m—Velocity
final positionxm—Velocity
change of velocityΔvm/s—Acceleration
average accelerationaavm/s²—Acceleration
starting velocityv0m/s—Acceleration
final velocityvm/s—Acceleration
gravitygm/s²—UniformAcceleration
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
A=Ax2+Ay2
magnitude from components
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
vo,x(t)=vo(t)⋅cos⁡θo(t)
parts of a velocity
R2=A2+B2+2⋅A⋅B⋅cos⁡φ
law of cosines
R⋅sin⁡β=B⋅sin⁡φ
law of sines
R⋅cos⁡β=A+B⋅cos⁡φ
along the first
Ax=A⋅cos⁡α
resolved along x
Ay=A⋅sin⁡α
resolved along y
Δx=x-x0
change of position
vav=ΔxΔt
displacement a time
cav=dΔt
path a time
Δv=v-v0
velocity gained
aav=ΔvΔt
velocity gained a time
v=v0+a⋅t
velocity after a time
x=x0+v0⋅t+a⋅t22
position after a time
v2=v02+2⋅a⋅(x-x0)
velocity after a distance
x-x0=(v+v0)⋅t2
mean of the velocities