play phryzby with physics

Braking to a Stop

solved UniformAcceleration

Q. A car doing 126 km/hv0=126km/h brakes steadily and comes to restv=0m/s in 200 mx=200m. What is its acceleration, in m/s²?

x₀ = 0 mv₀ = 35 m/sx = 200 mv = 0 m/sdisplacement ?Δt = ?a = ?
Inputs
v0
126 km/h
x
200.00 m
Outputs
accelerationa?

How it's solved

Solved with UniformAcceleration

Given

  • v0=126km/h
  • x=200m
  • v=0m/s from “comes to rest”

Assumed

  • x0=0m

Find a.

Working
  1. v0=126km/h=35m/s
  2. velocity after a distancev2=v02+2⋅a⋅(x-x0)
  3. 02=352+2⋅a⋅(200-0)
  4. a=−3.062m/s²
  5. a≈−3.06m/s²to 3 significant figures
Conclusion

Slowing down along the direction of motion is an acceleration against it, so it comes out negative.

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 :braking_to_a_stop do4  kind :numerical5  describes "A car doing %{speed} brakes steadily and comes to rest in %{distance}. %{acceleration}, in m/s²?"6  given speed: "126 km/h"7  given distance: "200 m"8  asks acceleration: "What is its acceleration"9end
solution.rb
1require_relative "../questions/braking_to_a_stop"2require_relative "../science/motion_in_a_straight_line/uniform_acceleration"34solve :braking_to_a_stop, using: UniformAcceleration do5  take speed: :v_0, distance: :x6  deduce_from "comes to rest", v: "0 m/s"7  assume x_0: "0 m"8  take acceleration: :a9  answer find_value(:acceleration, in: "m/s2", figures: 3)1011  conclusion "Slowing down along the direction of motion is an acceleration against it, so it " \12             "comes out negative."13end
playground.rb
1require_relative "../solutions/braking_to_a_stop"23play_with :braking_to_a_stop do4  title "Braking to a Stop"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
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=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