hoan.uk

Projectile motion lab

Labs
Launch angle θ: 45 degrees
Launch speed v₀: 30.0 m/s

About

ExperimentIntermediateAges 13–1815 minNGSS HS-PS2-1GDPT-2018 VatLi-10

Drag the barrel to set the angle and the knob to set the speed, fire, and see how far it goes. Then add air drag and find the angle that really gives the longest shot.

How projectile motion works

A projectile moves under gravity alone. Its horizontal velocity stays constant while the vertical velocity changes by g every second, so the path is a parabola. Without air the range is v₀² sin 2θ / g, the same for θ and 90° − θ, and the greatest range from the ground is at 45°.

In this virtual lab you aim a launcher in 3D, pick a golf ball, baseball, cannonball or shuttlecock and fire it on Earth, the Moon or Mars, in a vacuum or in air with quadratic drag. You measure range and time with instruments that have a least count, record them in a table that exports to CSV, and compare a measured range-against-angle curve with the closed form and with the drag model.

Steps

0 of 6 done

Formulas

Model and assumptions

The projectile is a point mass launched from height h with speed v₀ at angle θ. It obeys x″ = −k|v|x′ and y″ = −g − k|v|y′, with k = ρ·Cd·A/(2m) and A = πd²/4. In a vacuum k = 0, the path is a parabola and T = (v₀ sin θ + √(v₀² sin²θ + 2gh))/g, R = v₀ cos θ · T.

  • The projectile is a point mass. Its diameter only sets the area for the air drag. In the scene it is drawn at least a few centimetres per scale unit so that it stays visible.
  • Drag is quadratic, F = ½ρCd A v², with a constant Cd. Real Cd depends on the Reynolds number (a golf ball's dimples cut it) and on the Mach number: the warning appears above about 100 m/s.
  • The projectile presets are round typical values, not measurements of one product. The shuttlecock is not a sphere: its Cd refers to the frontal area of the skirt, so treat it as a model of its strong drag.
  • The air is still, with the density of the standard atmosphere at the altitude of the site (0 to 5 km). There is no wind. Spin is ignored, so there is no Magnus force: a real golf ball or baseball with backspin or curve flies differently. A gravity preset changes g only; the air stays Earth's.
  • The ground is flat at y = 0 and g is uniform. No Earth curvature and no Coriolis force; the target is a disc of 1 m radius on the ground.
  • With drag the equations are integrated with the fourth-order Runge-Kutta method at a 2 ms step, with a divergence guard. The landing and the apex are found by bisection inside the last step. Mechanical energy can only decrease; in the limit Cd → 0 the result converges to the closed form.
  • The no-drag values shown are the closed form T = (v₀ sin θ + √(v₀² sin²θ + 2gh))/g and R = v₀ cos θ · T. The simulation without drag agrees with them to better than one part in a million.
  • Instruments: the tape reads to 1 cm, the stopwatch to 0.01 s and the protractor to 1°. With noise on, each tape reading and each stopwatch reading gets a seeded random error, and the uncertainty in the table includes it.

Valid range of each quantity

QuantityValid rangeDefault
Gravity g1 – 25 m/s²9.81 m/s²
Launch speed v₀1 – 120 m/s30 m/s
Launch angle θ1 – 89 °45 °
Launch height h0 – 50 m0 m
Mass m4 – 10,000 g46 g
Diameter d0.02 – 0.3 m0.043 m
Drag coefficient Cd0 – 1.5 10.27 1
Altitude of the site0 – 5,000 m0 m
Target distance1 – 1,500 m60 m

References

Quiz

Without air resistance, from flat ground, which launch angle gives the longest range?
Without drag, you double the launch speed at the same angle. The range becomes…
Without drag, shots at 30° and at 60° with the same speed from the ground land…
Compared with a vacuum, air drag moves the angle of greatest range…
The same shot without drag is repeated on the Moon (g = 1.62 m/s²) instead of Earth. The range becomes…
Without drag, you launch from the top of a cliff. The angle of greatest range is…
Why does a falling golf ball stop speeding up?

FAQ

Frequently asked questions

What launch angle gives the longest range?

From flat ground and without air, 45°. From a height the best angle is lower: tan θ = v₀ / √(v₀² + 2gh). With air drag it is also lower than 45°, typically 30° to 40° for a golf drive, because a steep shot spends more time in the air and loses more speed.

Why do 30° and 60° give the same range?

Without drag the range is v₀² sin 2θ / g and sin 2θ is the same for θ and 90° − θ. The 60° shot goes higher and stays in the air longer, but its horizontal speed is lower, so the two effects cancel exactly.

How does air resistance change the path?

Drag acts against the velocity and grows with its square, so the projectile loses range, flight time and height, and the path is no longer symmetric: the descent is steeper than the climb. Heavy, small bodies such as a cannonball are affected much less than a shuttlecock.

What is terminal velocity?

It is the speed at which drag equals weight, so a falling body stops accelerating: v = √(2mg / (ρ Cd A)). The lab shows it for the chosen body, about 44 m/s for a golf ball in sea-level air.

How accurate is this simulation?

Without drag it matches the closed form to better than one part in a million. With drag it uses fourth-order Runge-Kutta, whose result does not change when the step is halved. The physics is simplified: constant drag coefficient, no wind and no spin.

Measurements

Recorded range and time measurements (the CSV file uses SI units and also stores g, the air density, mass, diameter and Cd)
#θ (°)v₀ (m/s)h (m)MediumR ± ΔR (m)T ± ΔT (s)
No measurements yet. Record one from the Controls tab.

Range R against launch angle

050020406080Launch angle θ (°)Range R (m)
No drag: R = v₀² sin 2θ / g (from the ground)Simulation with the current dragYour measurements, bars show ±1 reading uncertainty

Greatest range of the model: 91.77 m at 45.0°.
With drag the best angle is below 45°. With a launch height it is also below 45° even without drag. Rows are drawn when they match the current speed, height, gravity and medium.

Path of the projectile

01020050Distance x (m)Height y (m)
No-drag parabolaModel with the current drag

How projectile motion works

A projectile moves under gravity alone. Its horizontal velocity stays constant while the vertical velocity changes by g every second, so the path is a parabola. Without air the range is v₀² sin 2θ / g, the same for θ and 90° − θ, and the greatest range from the ground is at 45°.

In this virtual lab you aim a launcher in 3D, pick a golf ball, baseball, cannonball or shuttlecock and fire it on Earth, the Moon or Mars, in a vacuum or in air with quadratic drag. You measure range and time with instruments that have a least count, record them in a table that exports to CSV, and compare a measured range-against-angle curve with the closed form and with the drag model.

Frequently asked questions

What launch angle gives the longest range?

From flat ground and without air, 45°. From a height the best angle is lower: tan θ = v₀ / √(v₀² + 2gh). With air drag it is also lower than 45°, typically 30° to 40° for a golf drive, because a steep shot spends more time in the air and loses more speed.

Why do 30° and 60° give the same range?

Without drag the range is v₀² sin 2θ / g and sin 2θ is the same for θ and 90° − θ. The 60° shot goes higher and stays in the air longer, but its horizontal speed is lower, so the two effects cancel exactly.

How does air resistance change the path?

Drag acts against the velocity and grows with its square, so the projectile loses range, flight time and height, and the path is no longer symmetric: the descent is steeper than the climb. Heavy, small bodies such as a cannonball are affected much less than a shuttlecock.

What is terminal velocity?

It is the speed at which drag equals weight, so a falling body stops accelerating: v = √(2mg / (ρ Cd A)). The lab shows it for the chosen body, about 44 m/s for a golf ball in sea-level air.

How accurate is this simulation?

Without drag it matches the closed form to better than one part in a million. With drag it uses fourth-order Runge-Kutta, whose result does not change when the step is halved. The physics is simplified: constant drag coefficient, no wind and no spin.