Projectile motion (with air resistance)

Range
Range with no air
Highest point
Time in the air
Lands at
Terminal speed

Without air, a thrown ball follows a parabola and 45° goes furthest from the ground. Air pushes back harder the faster the ball moves, so a real ball falls short, comes down more steeply than it went up, and goes furthest at a lower angle. Set the drag to 0 to see the textbook case.

The physics

Air density ρ = 1.227 kg/m³, from NASA Glenn's standard-atmosphere model at sea level (Earth atmosphere model), and g = 9.81 m/s². NASA gives a sphere's drag coefficient as anywhere from 0.07 to 0.5 depending on the flow (Shape effects on drag); 0.5 is the default here. Spin, wind and a drag coefficient that changes with speed are left out. Tested: with no air the simulation matches the formulas above to a micrometre; with air it doesn't change when the time step is halved, the ball's energy only ever falls, and a straight drop follows the exact vt tanh(g t ÷ vt) curve (packages/mechanics/test/science.test.ts).

Example

With launch speed 30 m/s, launch angle 35°, launch height 1 m, drag coefficient × 100 = 50, ball diameter 74 mm, ball mass 145 g: range: 57.8 m; range with no air: 87.6 m (34% less with air); highest point: 12.9 m; time in the air: 3.18 s; lands at: 19.9 m/s at 47°; terminal speed: 32.8 m/s. Open this setup, then change one thing at a time.

Related: Kepler orbit · Pendulum period · Spring–mass–damper