A Cricket Ball Rises
Q. A cricket ball is thrown at 28 m/sm/s, 30° above the horizontal. Taking g as 9.8 m/s²m/s², how high does it risem/s, in metres?
Inputs
Outputs
height?
How it's solved
Solved with Projectile
Given
- m/s
- m/s²
- m/s from “how high does it rise”
Assumed
- m
Find .
Working
- parts of a velocity(ball, start of up, y)
- m/s
- falling freely(up, y)
- m/s²
- velocity after a time(up, y)
- s
- position after a time(up, y)
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.
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"10end1require_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."15endplayground.rb
1require_relative "../solutions/a_cricket_ball_rises"23play_with :a_cricket_ball_rises do4 title "A Cricket Ball Rises"5endThe 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 ball during up along x | m | — | ||
| position of ball at end of up along x | m | — | ||
| position of ball at start of up along x | m | — | ||
| displacement of ball during up along y | m | — | ||
| position of ball at end of up along y | m | — | ||
| position of ball at start of up along y | m | — | ||
| average velocity of ball during up along x | m/s | — | ||
| time taken of up | s | 0 … 1e+05 | ||
| average velocity of ball during up along y | m/s | — | ||
| average speed of ball during up | m/s | — | ||
| path length of ball during up | m | — | ||
| change of velocity of ball during up along x | m/s | — | ||
| velocity of ball at end of up from ground along x | m/s | — | ||
| velocity of ball at start of up from ground along x | m/s | — | ||
| change of velocity of ball during up along y | m/s | — | ||
| velocity of ball at end of up from ground along y | m/s | — | ||
| velocity of ball at start of up from ground along y | m/s | — | ||
| average acceleration of ball during up along x | m/s² | — | ||
| average acceleration of ball during up along y | m/s² | — | ||
| acceleration of ball during up along x | m/s² | — | ||
| acceleration of ball during up along y | m/s² | — | ||
| velocity of ground at start of up from ground along x | m/s | — | ||
| velocity of ground at start of up from ground | m/s | — | ||
| direction of ground at start of up from ground | — | -3.142 … 3.142 | ||
| velocity of ground at start of up from ground along y | m/s | — | ||
| velocity of ground at end of up from ground along x | m/s | — | ||
| velocity of ground at end of up from ground | m/s | — | ||
| direction of ground at end of up from ground | — | -3.142 … 3.142 | ||
| velocity of ground at end of up from ground along y | m/s | — | ||
| velocity of ball at start of up from ground | m/s | — | ||
| direction of ball at start of up from ground | — | -3.142 … 3.142 | ||
| velocity of ball at end of up from ground | m/s | — | ||
| direction of ball at end of up from ground | — | -3.142 … 3.142 | ||
| displacement of ball during up | m | — | ||
| position of ball at end of up | m | — | ||
| position of ball at start of up | m | — | ||
| average velocity of ball during up | m/s | — | ||
| change of velocity of ball during up | m/s | — | ||
| average acceleration of ball during up | m/s² | — | ||
| acceleration of ball during up | m/s² | — |