play phryzby with physics

A Cricket Ball Rises

solved Projectile

Q. A cricket ball is thrown at 28 m/sv0=28m/s, 30°θ0=30° above the horizontal. Taking g as 9.8 m/s²g=9.8m/s², how high does it risev1,y=0m/s, in metres?

v₀ = 28 m/sθ = 30°vy = ?tg = 9.8 m/s²
Inputs
v0
28.0 m/s
θ0
30.00°
g
9.8 m/s²
Outputs
heightx1,y?

How it's solved

Solved with Projectile

Given

  • v0=28m/s
  • θ0=30°
  • g=9.8m/s²
  • v1,y=0m/s from “how high does it rise”

Assumed

  • x0,y=0m

Find x1,y.

Working
  1. parts of a velocity(ball, start of up, y)v0,y=v0⋅sin⁡θ0
  2. v0,y=28⋅sin⁡30°
  3. v0,y=14m/s
  4. falling freely(up, y)ay=−g
  5. ay=−9.8
  6. ay=−9.8m/s²
  7. velocity after a time(up, y)v1,y=v0,y+ay⋅Δt
  8. 0=14+(−9.8)⋅Δt
  9. Δt=1.42857143s
  10. position after a time(up, y)x1,y=x0,y+v0,y⋅Δt+ay⋅Δt22
  11. x1,y=0+14⋅1.42857143+(−9.8)⋅1.4285714322
  12. x1,y=10.00 m
Conclusion

Only the upward part of the throw fights gravity, so the height is set by that part alone.

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 :a_cricket_ball_rises do4  kind :numerical5  describes "A cricket ball is thrown at %{speed}, %{angle} above the horizontal. Taking g as %{gravity}, %{height}, in metres?"6  given speed: "28 m/s"7  given angle: "30 deg"8  given gravity: "9.8 m/s2"9  asks height: "how high does it rise"10end
solution.rb
1require_relative "../questions/a_cricket_ball_rises"2require_relative "../science/motion_in_a_plane/projectile"34solve :a_cricket_ball_rises, using: Projectile do5  objects :ball6  axes :x, :y7  ball.goes(:up)8  take speed: ball.initial_speed, angle: ball.initial_direction, gravity: g9  assume ball.initial_position(along: y) => "0 m"10  deduce_from "how high does it rise", ball.final_velocity(along: y) => "0 m/s"11  height = ball.final_position(along: y)12  answer height:, in: "m"13  conclusion "Only the upward part of the throw fights gravity, so the height is set by that part " \14             "alone."15end
playground.rb
1require_relative "../solutions/a_cricket_ball_rises"23play_with :a_cricket_ball_rises do4  title "A Cricket Ball Rises"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 ball during up along xΔxxm—
position of ball at end of up along xx1,xm—
position of ball at start of up along xx0,xm—
displacement of ball during up along yΔxym—
position of ball at end of up along yx1,ym—
position of ball at start of up along yx0,ym—
average velocity of ball during up along xvav,xm/s—
time taken of upΔts0 … 1e+05
average velocity of ball during up along yvav,ym/s—
average speed of ball during upcavm/s—
path length of ball during updm—
change of velocity of ball during up along xΔvxm/s—
velocity of ball at end of up from ground along xv1,xm/s—
velocity of ball at start of up from ground along xv0,xm/s—
change of velocity of ball during up along yΔvym/s—
velocity of ball at end of up from ground along yv1,ym/s—
velocity of ball at start of up from ground along yv0,ym/s—
average acceleration of ball during up along xaav,xm/s²—
average acceleration of ball during up along yaav,ym/s²—
acceleration of ball during up along xaxm/s²—
acceleration of ball during up along yaym/s²—
velocity of ground at start of up from ground along xv0,g,xm/s—
velocity of ground at start of up from groundv0,gm/s—
direction of ground at start of up from groundθ0,g—-3.142 … 3.142
velocity of ground at start of up from ground along yv0,g,ym/s—
velocity of ground at end of up from ground along xv1,g,xm/s—
velocity of ground at end of up from groundv1,gm/s—
direction of ground at end of up from groundθ1,g—-3.142 … 3.142
velocity of ground at end of up from ground along yv1,g,ym/s—
velocity of ball at start of up from groundv0m/s—
direction of ball at start of up from groundθ0—-3.142 … 3.142
velocity of ball at end of up from groundv1m/s—
direction of ball at end of up from groundθ1—-3.142 … 3.142
displacement of ball during upΔxm—
position of ball at end of upx1m—
position of ball at start of upx0m—
average velocity of ball during upvavm/s—
change of velocity of ball during upΔvm/s—
average acceleration of ball during upaavm/s²—
acceleration of ball during upam/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(up, x)
Δxy=x1,y-x0,y
change of position(up, y)
vav,x=ΔxxΔt
displacement a time(up, x)
vav,y=ΔxyΔt
displacement a time(up, y)
cav=dΔt
path a time(up, x)
cav=dΔt
path a time(up, y)
Δvx=v1,x-v0,x
velocity gained(up, x)
Δvy=v1,y-v0,y
velocity gained(up, y)
aav,x=ΔvxΔt
velocity gained a time(up, x)
aav,y=ΔvyΔt
velocity gained a time(up, y)
v1,x=v0,x+ax⋅Δt
velocity after a time(up, x)
v1,y=v0,y+ay⋅Δt
velocity after a time(up, y)
x1,x=x0,x+v0,x⋅Δt+ax⋅Δt22
position after a time(up, x)
x1,y=x0,y+v0,y⋅Δt+ay⋅Δt22
position after a time(up, y)
v1,x2=v0,x2+2⋅ax⋅(x1,x-x0,x)
velocity after a distance(up, x)
v1,y2=v0,y2+2⋅ay⋅(x1,y-x0,y)
velocity after a distance(up, y)
x1,x-x0,x=(v1,x+v0,x)⋅Δt2
mean of the velocities(up, x)
x1,y-x0,y=(v1,y+v0,y)⋅Δt2
mean of the velocities(up, y)
v0,g,x=v0,g⋅cos⁡θ0,g
parts of a velocity(ground, start of up, x)
v0,g,y=v0,g⋅sin⁡θ0,g
parts of a velocity(ground, start of up, y)
v1,g,x=v1,g⋅cos⁡θ1,g
parts of a velocity(ground, end of up, x)
v1,g,y=v1,g⋅sin⁡θ1,g
parts of a velocity(ground, end of up, y)
v0,x=v0⋅cos⁡θ0
parts of a velocity(ball, start of up, x)
v0,y=v0⋅sin⁡θ0
parts of a velocity(ball, start of up, y)
v1,x=v1⋅cos⁡θ1
parts of a velocity(ball, end of up, x)
v1,y=v1⋅sin⁡θ1
parts of a velocity(ball, end of up, y)
ax=0
falling freely(up, x)
ay=−g
falling freely(up, y)
Δx=Δxx2+Δxy2
magnitude from components(displacement of ball during up)
x1=x1,x2+x1,y2
magnitude from components(position of ball at end of up)
x0=x0,x2+x0,y2
magnitude from components(position of ball at start of up)
vav=vav,x2+vav,y2
magnitude from components(average velocity of ball during up)
Δv=Δvx2+Δvy2
magnitude from components(change of velocity of ball during up)
v1=v1,x2+v1,y2
magnitude from components(velocity of ball at end of up from ground)
v0=v0,x2+v0,y2
magnitude from components(velocity of ball at start of up from ground)
aav=aav,x2+aav,y2
magnitude from components(average acceleration of ball during up)
a=ax2+ay2
magnitude from components(acceleration of ball during up)
v0,g=v0,g,x2+v0,g,y2
magnitude from components(velocity of ground at start of up from ground)
v1,g=v1,g,x2+v1,g,y2
magnitude from components(velocity of ground at end of up from ground)