play phryzby with physics

Back in the Hands

solved UniformAcceleration

Q. A ball is thrown straight up at 29.4 m/sv0=29.4m/s. Taking g asa=−g 9.8 m/s²g=9.8m/s², after how many seconds is it back in the thrower's handsx1=0m?

x₀ = 0 mv₀ = 29.4 m/sx = 0 mv = ?displacement ?a = ?v̄ = ?
Inputs
v0
29.4 m/s
g
9.8 m/s²
Outputs
timeΔt?

How it's solved

Solved with UniformAcceleration

Given

  • v0=29.4m/s
  • g=9.8m/s²
  • x1=0m from “back in the thrower's hands”
  • a=−g from “thrown straight up” and “Taking g as”

Assumed

  • x0=0m

Find Δt.

Working
  1. thrown straight up and Taking g asa=−g
  2. a=−9.8
  3. a=−9.8m/s²
  4. position after a time(flying)x1=x0+v0⋅Δt+a⋅Δt22
  5. 0=0+29.4⋅Δt+(−9.8)⋅Δt22
  6. Δt=0,6sthe start is set aside, as a later time fits
  7. Δt=6.00 s
Conclusion

It takes as long to come down as to go up, and comes back at the speed it left with, pointing the other way.

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 :back_in_the_hands do4  kind :numerical5  describes "A ball is thrown straight up at %{throw_speed}. Taking g as %{gravity}, %{time}?"6  given throw_speed: "29.4 m/s"7  given gravity: "9.8 m/s2"8  asks time: "after how many seconds is it back in the thrower's hands"9end
solution.rb
1require_relative "../questions/back_in_the_hands"2require_relative "../science/motion_in_a_straight_line/uniform_acceleration"34solve :back_in_the_hands, using: UniformAcceleration do5  objects :ball6  ball.goes(:flying)78  deduce_from "thrown straight up", "Taking g as", ball.acceleration => -g9  take throw_speed: ball.initial_velocity, gravity: g10  assume ball.initial_position => "0 m"11  deduce_from "back in the thrower's hands", ball.final_position => "0 m"12  take time: flying.time_taken13  answer find_value(:time, in: "s")1415  conclusion "It takes as long to come down as to go up, and comes back at the speed it left " \16             "with, pointing the other way."17end
playground.rb
1require_relative "../solutions/back_in_the_hands"23play_with :back_in_the_hands do4  title "Back in the Hands"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 ball during flyingΔxm—
position of ball at end of flyingx1m—
position of ball at start of flyingx0m—
average velocity of ball during flyingvavm/s—
time taken of flyingΔts0 … 1e+05
average speed of ball during flyingcavm/s—
path length of ball during flyingdm—
change of velocity of ball during flyingΔvm/s—
velocity of ball at end of flying from groundv1m/s—
velocity of ball at start of flying from groundv0m/s—
average acceleration of ball during flyingaavm/s²—
acceleration of ball during flyingam/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(flying)
vav=ΔxΔt
displacement a time(flying)
cav=dΔt
path a time(flying)
Δv=v1-v0
velocity gained(flying)
aav=ΔvΔt
velocity gained a time(flying)
v1=v0+a⋅Δt
velocity after a time(flying)
x1=x0+v0⋅Δt+a⋅Δt22
position after a time(flying)
v12=v02+2⋅a⋅(x1-x0)
velocity after a distance(flying)
x1-x0=(v1+v0)⋅Δt2
mean of the velocities(flying)
a=−g
thrown straight up and Taking g as