play phryzby with physics

Landing off a Cliff

solved Projectile

Q. A hiker at the edge of a cliff 490 m highx0,y=490m throws a stone horizontallyv0,y=0m/s at 15 m/sv0,x=15m/s. Taking g as 9.8 m/s²g=9.8m/s², how fast is it going when it landsx1,y=0m, in m/s?

v₀v₀ᵧ = 0 m/sy₀ = 490 mv = ?tg = 9.8 m/s²
Inputs
v0,x
15.0 m/s
g
9.8 m/s²
Outputs
landing speedv1?

How it's solved

Solved with Projectile

Given

  • v0,x=15m/s
  • g=9.8m/s²
  • v0,y=0m/s from “horizontally”
  • x0,y=490m from “490 m high”
  • x1,y=0m from “lands”

Find v1.

Working
  1. falling freely(flying, y)ay=−g
  2. ay=−9.8
  3. ay=−9.8m/s²
  4. position after a time(flying, y)x1,y=x0,y+v0,y⋅Δt+ay⋅Δt22
  5. 0=490+0⋅Δt+(−9.8)⋅Δt22
  6. Δt=10s
  7. falling freely(flying, x)ax=0
  8. ax=0m/s²
  9. velocity after a time(flying, x)v1,x=v0,x+ax⋅Δt
  10. v1,x=15+0⋅10
  11. v1,x=15m/s
  12. velocity after a time(flying, y)v1,y=v0,y+ay⋅Δt
  13. v1,y=0+(−9.8)⋅10
  14. v1,y=−98m/s
  15. magnitude from components(velocity of stone at end of flying from ground)v1=v1,x2+v1,y2
  16. v1=152+(−98)2
  17. v1=99.1 m/s
  18. v1≈99.1m/sto 3 significant figures
Conclusion

The sideways speed never changes; all the gain is downward, and the speed is the length of the two together.

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 :landing_off_a_cliff do4  kind :numerical5  describes "A hiker at the edge of a cliff 490 m high throws a stone horizontally at %{speed}. Taking g " \6          "as %{gravity}, %{landing_speed}, in m/s?"7  given speed: "15 m/s"8  given gravity: "9.8 m/s2"9  asks landing_speed: "how fast is it going when it lands"10end
solution.rb
1require_relative "../questions/landing_off_a_cliff"2require_relative "../science/motion_in_a_plane/projectile"34solve :landing_off_a_cliff, using: Projectile do5  objects :stone6  axes :x, :y7  stone.goes(:flying)8  take speed: stone.initial_velocity(along: x), gravity: g9  deduce_from "horizontally", stone.initial_velocity(along: y) => "0 m/s"10  deduce_from "490 m high", stone.initial_position(along: y) => "490 m"11  deduce_from "lands", stone.final_position(along: y) => "0 m"12  landing_speed = stone.final_speed13  answer landing_speed:, in: "m/s", figures: 314  conclusion "The sideways speed never changes; all the gain is downward, and the speed is the " \15             "length of the two together."16end
playground.rb
1require_relative "../solutions/landing_off_a_cliff"23play_with :landing_off_a_cliff do4  title "Landing off a Cliff"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
displacement of stone during flying along xΔxxm—
position of stone at end of flying along xx1,xm—
position of stone at start of flying along xx0,xm—
displacement of stone during flying along yΔxym—
position of stone at end of flying along yx1,ym—
position of stone at start of flying along yx0,ym—
average velocity of stone during flying along xvav,xm/s—
time taken of flyingΔts0 … 1e+05
average velocity of stone during flying along yvav,ym/s—
average speed of stone during flyingcavm/s—
path length of stone during flyingdm—
change of velocity of stone during flying along xΔvxm/s—
velocity of stone at end of flying from ground along xv1,xm/s—
velocity of stone at start of flying from ground along xv0,xm/s—
change of velocity of stone during flying along yΔvym/s—
velocity of stone at end of flying from ground along yv1,ym/s—
velocity of stone at start of flying from ground along yv0,ym/s—
average acceleration of stone during flying along xaav,xm/s²—
average acceleration of stone during flying along yaav,ym/s²—
acceleration of stone during flying along xaxm/s²—
acceleration of stone during flying along yaym/s²—
velocity of ground at start of flying from ground along xv0,g,xm/s—
velocity of ground at start of flying from groundv0,gm/s—
direction of ground at start of flying from groundθ0,g—-3.142 … 3.142
velocity of ground at start of flying from ground along yv0,g,ym/s—
velocity of ground at end of flying from ground along xv1,g,xm/s—
velocity of ground at end of flying from groundv1,gm/s—
direction of ground at end of flying from groundθ1,g—-3.142 … 3.142
velocity of ground at end of flying from ground along yv1,g,ym/s—
velocity of stone at start of flying from groundv0m/s—
direction of stone at start of flying from groundθ0—-3.142 … 3.142
velocity of stone at end of flying from groundv1m/s—
direction of stone at end of flying from groundθ1—-3.142 … 3.142
displacement of stone during flyingΔxm—
position of stone at end of flyingx1m—
position of stone at start of flyingx0m—
average velocity of stone during flyingvavm/s—
change of velocity of stone during flyingΔvm/s—
average acceleration of stone during flyingaavm/s²—
acceleration of stone 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
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
ai,x(m)=0
falling freely
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
Δxx=x1,x-x0,x
change of position(flying, x)
Δxy=x1,y-x0,y
change of position(flying, y)
vav,x=ΔxxΔt
displacement a time(flying, x)
vav,y=ΔxyΔt
displacement a time(flying, y)
cav=dΔt
path a time(flying, x)
cav=dΔt
path a time(flying, y)
Δvx=v1,x-v0,x
velocity gained(flying, x)
Δvy=v1,y-v0,y
velocity gained(flying, y)
aav,x=ΔvxΔt
velocity gained a time(flying, x)
aav,y=ΔvyΔt
velocity gained a time(flying, y)
v1,x=v0,x+ax⋅Δt
velocity after a time(flying, x)
v1,y=v0,y+ay⋅Δt
velocity after a time(flying, y)
x1,x=x0,x+v0,x⋅Δt+ax⋅Δt22
position after a time(flying, x)
x1,y=x0,y+v0,y⋅Δt+ay⋅Δt22
position after a time(flying, y)
v1,x2=v0,x2+2⋅ax⋅(x1,x-x0,x)
velocity after a distance(flying, x)
v1,y2=v0,y2+2⋅ay⋅(x1,y-x0,y)
velocity after a distance(flying, y)
x1,x-x0,x=(v1,x+v0,x)⋅Δt2
mean of the velocities(flying, x)
x1,y-x0,y=(v1,y+v0,y)⋅Δt2
mean of the velocities(flying, y)
v0,g,x=v0,g⋅cos⁡θ0,g
parts of a velocity(ground, start of flying, x)
v0,g,y=v0,g⋅sin⁡θ0,g
parts of a velocity(ground, start of flying, y)
v1,g,x=v1,g⋅cos⁡θ1,g
parts of a velocity(ground, end of flying, x)
v1,g,y=v1,g⋅sin⁡θ1,g
parts of a velocity(ground, end of flying, y)
v0,x=v0⋅cos⁡θ0
parts of a velocity(stone, start of flying, x)
v0,y=v0⋅sin⁡θ0
parts of a velocity(stone, start of flying, y)
v1,x=v1⋅cos⁡θ1
parts of a velocity(stone, end of flying, x)
v1,y=v1⋅sin⁡θ1
parts of a velocity(stone, end of flying, y)
ax=0
falling freely(flying, x)
ay=−g
falling freely(flying, y)
Δx=Δxx2+Δxy2
magnitude from components(displacement of stone during flying)
x1=x1,x2+x1,y2
magnitude from components(position of stone at end of flying)
x0=x0,x2+x0,y2
magnitude from components(position of stone at start of flying)
vav=vav,x2+vav,y2
magnitude from components(average velocity of stone during flying)
Δv=Δvx2+Δvy2
magnitude from components(change of velocity of stone during flying)
v1=v1,x2+v1,y2
magnitude from components(velocity of stone at end of flying from ground)
v0=v0,x2+v0,y2
magnitude from components(velocity of stone at start of flying from ground)
aav=aav,x2+aav,y2
magnitude from components(average acceleration of stone during flying)
a=ax2+ay2
magnitude from components(acceleration of stone during flying)
v0,g=v0,g,x2+v0,g,y2
magnitude from components(velocity of ground at start of flying from ground)
v1,g=v1,g,x2+v1,g,y2
magnitude from components(velocity of ground at end of flying from ground)