Instants of a Projectile
Q. A body is thrown at at where gravity is . Where does it land, how high does it gom/s, and how long is it in the air? And after it is thrown, how far out is it, how high is it, how fast is it going across, how fast is it going up, and which way is it heading?
the throw, all of it
Inputs
Outputs
range40.77 m
peak10.19 m
time2.88 s
one moment of it
Inputs
Outputs
distance out19.80 m
height10.19 m
velocity across14.1 m/s
velocity up0.4 m/s
direction1.65°
How it's solved
Solved with Projectile
Given
- m/s from “how high does it go”
- , , , yours to vary
Assumed
- m
- m
- m
Find , , , , , , , .
Working
- parts of a velocity(body, thrown, y)
- m/s
- falling freely(flying, y)
- m/s²
- position after a time(flying, y)
- sthe start is set aside, as a later time fits
- s
- parts of a velocity(body, thrown, x)
- m/s
- falling freely(flying, x)
- m/s²
- position after a time(flying, x)
- m
- falling freely(to top, y)
- m/s²
- velocity after a time(to top, y)
- s
- position after a time(to top, y)
- m
- falling freely(so far, x)
- m/s²
- position after a time(so far, x)
- m
- falling freely(so far, y)
- m/s²
- position after a time(so far, y)
- m
- velocity after a time(so far, x)
- m/s
- velocity after a time(so far, y)
- m/s
- magnitude from components(velocity of body at later from ground)
- m/s
- parts of a velocity(body, later, x)
Conclusion
Somewhere along the same arc, at a moment you can name. Ask at half the time of flying and the answers are the range halved and the peak exactly — which is where the three the chapter before worked out came from.
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.
1require_relative "../physics"23question :motion do4 describes "A body is thrown at %{speed} at %{angle} where gravity is %{gravity}. %{range}, %{peak}, and %{time}? " \5 "And %{elapsed} after it is thrown, %{distance_out}, %{height}, %{velocity_across}, %{velocity_up}, " \6 "and %{direction}?"7 given :angle8 given :speed9 given :gravity10 given :elapsed11 asks range: "Where does it land", peak: "how high does it go", time: "how long is it in the air",12 distance_out: "how far out is it", height: "how high is it",13 velocity_across: "how fast is it going across", velocity_up: "how fast is it going up",14 direction: "which way is it heading"15end1require_relative "../questions/motion"2require_relative "../science/motion_in_a_plane/projectile"34solve :motion, using: Projectile do5 objects :body6 axes :x, :y7 instants :thrown, :top, :lands8 instants :thrown, :later9 body.goes(:flying, during: thrown..lands)10 body.goes(:to_top, during: thrown..top)11 body.goes(:so_far, during: thrown..later)12 take angle: body.direction(at: thrown), speed: body.speed(at: thrown), gravity: g, elapsed: so_far.time_taken,13 range: body.position(at: lands, along: x), peak: body.position(at: top, along: y), time: flying.time_taken,14 distance_out: body.position(at: later, along: x), height: body.position(at: later, along: y),15 velocity_across: body.velocity(at: later, along: x), velocity_up: body.velocity(at: later, along: y),16 direction: body.direction(at: later)17 assume body.position(at: thrown, along: x) => "0 m", body.position(at: thrown, along: y) => "0 m",18 body.position(at: lands, along: y) => "0 m"19 deduce_from "how high does it go", body.velocity(at: top, along: y) => "0 m/s"20 find_value :range21 find_value :peak22 find_value :time23 find_value :distance_out24 find_value :height25 find_value :velocity_across26 find_value :velocity_up27 find_value :direction2829 conclusion "Somewhere along the same arc, at a moment you can name. Ask at half the time of flying and the answers are the range halved and the peak exactly — which is where the three the chapter before worked out came from."30endplayground.rb
1require_relative "../solutions/motion"2require_relative "../science/motion_in_a_plane/gravity"3require_relative "../pictures/in_view"4require_relative "../pictures/flight"56play_with :motion do7 title "Instants of a Projectile"89 input(:gravity) { world }1011 about "the throw, all of it" do12 input :angle, default: 45.deg, step: 5.deg13 input :speed, 10.0..100.0, in: "m/s", step: 10.0, default: 20.01415 input :world, GRAVITY, default: "earth"16 input :in_view, IN_VIEW1718 output :range, in: "m"19 output :peak, in: "m"20 output :time, in: "s"21 end2223 about "one moment of it" do24 input :elapsed, 0.0..20.0, in: "s", step: 0.01, default: 1.4, up_to: :time2526 output :distance_out, in: "m"27 output :height, in: "m"28 output :velocity_across, in: "m/s"29 output :velocity_up, in: "m/s"30 output :direction, in: "deg"31 end3233 draw Flight::Picture do34 ground35 flight leaving_at: :angle36 now37 reach "range", :range38 apex "peak", :peak39 end40endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| volume | — | — | Vectors | |
| mass | — | — | Vectors | |
| speed | — | — | Vectors | |
| density | — | — | Vectors | |
| number of moles | — | — | Vectors | |
| angular frequency | — | — | Vectors | |
| work | — | — | Vectors | |
| current | — | — | Vectors | |
| temperature | — | — | Vectors | |
| pressure | — | — | Vectors | |
| time | s | 0 … 1e+05 | Vectors | |
| power | — | — | Vectors | |
| total path length | — | — | Vectors | |
| energy | — | — | Vectors | |
| gravitational potential | — | — | Vectors | |
| coefficient of friction | — | — | Vectors | |
| charge | — | — | Vectors | |
| acceleration | m/s² | — | Vectors | |
| velocity | m/s | — | Vectors | |
| displacement | m | — | Vectors | |
| angular velocity | — | — | Vectors | |
| force | — | — | Vectors | |
| angular momentum | — | — | Vectors | |
| linear momentum | — | — | Vectors | |
| electric field | — | — | Vectors | |
| average velocity | m/s | — | Vectors | |
| magnetic moment | — | — | Vectors | |
| relative velocity | — | — | Vectors | |
| impulse | — | — | Vectors | |
| first vector | — | 0 … ∞ | Vectors | |
| second vector | — | 0 … ∞ | Vectors | |
| angle between | — | 0 … 3.142 | Vectors | |
| resultant | — | 0 … ∞ | Vectors | |
| resultant direction | — | 0 … 3.142 | Vectors | |
| direction | — | -3.142 … 3.142 | Vectors | |
| x component | — | — | Vectors | |
| y component | — | — | Vectors | |
| position | m | — | Velocity | |
| path length | m | — | Velocity | |
| time taken | s | 0 … 1e+05 | Velocity | |
| average speed | m/s | — | Velocity | |
| starting position | m | — | Velocity | |
| final position | m | — | Velocity | |
| change of velocity | m/s | — | Acceleration | |
| average acceleration | m/s² | — | Acceleration | |
| starting velocity | m/s | — | Acceleration | |
| final velocity | m/s | — | Acceleration | |
| gravity | m/s² | — | UniformAcceleration | |
| displacement of body during flying along x | m | — | ||
| position of body at lands along x | m | — | ||
| position of body at thrown along x | m | — | ||
| displacement of body during flying along y | m | — | ||
| position of body at lands along y | m | — | ||
| position of body at thrown along y | m | — | ||
| displacement of body during to top along x | m | — | ||
| position of body at top along x | m | — | ||
| displacement of body during to top along y | m | — | ||
| position of body at top along y | m | — | ||
| displacement of body during so far along x | m | — | ||
| position of body at later along x | m | — | ||
| displacement of body during so far along y | m | — | ||
| position of body at later along y | m | — | ||
| average velocity of body during flying along x | m/s | — | ||
| time taken of flying | s | 0 … 1e+05 | ||
| average velocity of body during flying along y | m/s | — | ||
| average velocity of body during to top along x | m/s | — | ||
| time taken of to top | s | 0 … 1e+05 | ||
| average velocity of body during to top along y | m/s | — | ||
| average velocity of body during so far along x | m/s | — | ||
| time taken of so far | s | 0 … 1e+05 | ||
| average velocity of body during so far along y | m/s | — | ||
| average speed of body during flying | m/s | — | ||
| path length of body during flying | m | — | ||
| average speed of body during to top | m/s | — | ||
| path length of body during to top | m | — | ||
| average speed of body during so far | m/s | — | ||
| path length of body during so far | m | — | ||
| change of velocity of body during flying along x | m/s | — | ||
| velocity of body at lands from ground along x | m/s | — | ||
| velocity of body at thrown from ground along x | m/s | — | ||
| change of velocity of body during flying along y | m/s | — | ||
| velocity of body at lands from ground along y | m/s | — | ||
| velocity of body at thrown from ground along y | m/s | — | ||
| change of velocity of body during to top along x | m/s | — | ||
| velocity of body at top from ground along x | m/s | — | ||
| change of velocity of body during to top along y | m/s | — | ||
| velocity of body at top from ground along y | m/s | — | ||
| change of velocity of body during so far along x | m/s | — | ||
| velocity of body at later from ground along x | m/s | — | ||
| change of velocity of body during so far along y | m/s | — | ||
| velocity of body at later from ground along y | m/s | — | ||
| average acceleration of body during flying along x | m/s² | — | ||
| average acceleration of body during flying along y | m/s² | — | ||
| average acceleration of body during to top along x | m/s² | — | ||
| average acceleration of body during to top along y | m/s² | — | ||
| average acceleration of body during so far along x | m/s² | — | ||
| average acceleration of body during so far along y | m/s² | — | ||
| acceleration of body during flying along x | m/s² | — | ||
| acceleration of body during flying along y | m/s² | — | ||
| acceleration of body during to top along x | m/s² | — | ||
| acceleration of body during to top along y | m/s² | — | ||
| acceleration of body during so far along x | m/s² | — | ||
| acceleration of body during so far along y | m/s² | — | ||
| velocity of ground at thrown from ground along x | m/s | — | ||
| velocity of ground at thrown from ground | m/s | — | ||
| direction of ground at thrown from ground | — | -3.142 … 3.142 | ||
| velocity of ground at thrown from ground along y | m/s | — | ||
| velocity of ground at lands from ground along x | m/s | — | ||
| velocity of ground at lands from ground | m/s | — | ||
| direction of ground at lands from ground | — | -3.142 … 3.142 | ||
| velocity of ground at lands from ground along y | m/s | — | ||
| velocity of ground at top from ground along x | m/s | — | ||
| velocity of ground at top from ground | m/s | — | ||
| direction of ground at top from ground | — | -3.142 … 3.142 | ||
| velocity of ground at top from ground along y | m/s | — | ||
| velocity of ground at later from ground along x | m/s | — | ||
| velocity of ground at later from ground | m/s | — | ||
| direction of ground at later from ground | — | -3.142 … 3.142 | ||
| velocity of ground at later from ground along y | m/s | — | ||
| velocity of body at thrown from ground | m/s | — | ||
| direction of body at thrown from ground | — | -3.142 … 3.142 | ||
| velocity of body at lands from ground | m/s | — | ||
| direction of body at lands from ground | — | -3.142 … 3.142 | ||
| velocity of body at top from ground | m/s | — | ||
| direction of body at top from ground | — | -3.142 … 3.142 | ||
| velocity of body at later from ground | m/s | — | ||
| direction of body at later from ground | — | -3.142 … 3.142 | ||
| displacement of body during flying | m | — | ||
| position of body at lands | m | — | ||
| position of body at thrown | m | — | ||
| displacement of body during to top | m | — | ||
| position of body at top | m | — | ||
| displacement of body during so far | m | — | ||
| position of body at later | m | — | ||
| average velocity of body during flying | m/s | — | ||
| average velocity of body during to top | m/s | — | ||
| average velocity of body during so far | m/s | — | ||
| change of velocity of body during flying | m/s | — | ||
| change of velocity of body during to top | m/s | — | ||
| change of velocity of body during so far | m/s | — | ||
| average acceleration of body during flying | m/s² | — | ||
| average acceleration of body during to top | m/s² | — | ||
| average acceleration of body during so far | m/s² | — | ||
| acceleration of body during flying | m/s² | — | ||
| acceleration of body during to top | m/s² | — | ||
| acceleration of body during so far | m/s² | — |