Sub topic 9
Horizontal range on level ground
This chapter assumes you can resolve a launch velocity into components, use the constant-acceleration equations in one dimension, and apply the ideal projectile model (no air resistance, constant g, flat Earth). The Python examples are optional.
What range means
The range R is the horizontal distance from the launch point to the landing point. On level ground, the projectile lands at the same height it was launched from, so the vertical displacement is zero. Range is a short chain of results you already have:
- The vertical motion sets how long the projectile is in the air.
- The horizontal velocity is constant.
- Distance is horizontal velocity times time.
Deriving the formula
Launch from the origin with speed v0 at angle θ above the horizontal. The components are
- vx = v0 cos θ
- vy = v0 sin θ
The horizontal position is x(t) = vx t, because there is no horizontal acceleration. The vertical position is y(t) = vy t − ½ g t².
Landing on level ground means y = 0 again. Factor the vertical equation:
t (vy − ½ g t) = 0
This has two roots. t = 0 is the launch, and t = 2 vy / g is the landing. The second root is the time of flight T. By symmetry, the rise takes vy / g and the fall takes the same time.
Substitute T into the horizontal equation:
R = vx T = (v0 cos θ)(2 v0 sin θ / g) = 2 v0² sin θ cos θ / g
The double-angle identity 2 sin θ cos θ = sin 2θ gives the compact form:
R = v0² sin 2θ / g
The formula is valid only for level ground, in the ideal model, with θ measured from the horizontal.
Reading the formula
Each factor tells you something about how range behaves.
| Change | Effect on R | Reason |
|---|---|---|
| Double v0 | R becomes 4 times larger | R depends on v0², because speed raises both the horizontal velocity and the time aloft |
| Double g | R is halved | R is proportional to 1/g |
| Same v0 on the Moon (g ≈ 1.62 m/s²) | About 6.06 times farther than on Earth | 9.81 / 1.62 ≈ 6.06 |
| Angle goes from θ to 90° − θ | R is unchanged | sin(2(90° − θ)) = sin(180° − 2θ) = sin 2θ |
| θ = 0° or 90° | R = 0 | sin 0° = sin 180° = 0 |
The complementary-angle result is worth remembering. A launch at 30° and a launch at 60° with the same speed land at the same point. The low launch spends less time aloft but moves faster horizontally. The high launch is slower horizontally but stays up longer. The two effects balance exactly.
Range is largest when sin 2θ = 1, so 2θ = 90° and θ = 45°. At that angle R_max = v0² / g. The next chapters examine why 45° stops being optimal when launch and landing heights differ.
Worked example
A ball is launched at 20 m/s and 30° above the horizontal on level ground. Use g = 9.81 m/s².
- vx = 20 cos 30° ≈ 17.32 m/s, and vy = 20 sin 30° = 10.00 m/s.
- T = 2 vy / g = 20.00 / 9.81 ≈ 2.04 s.
- R = vx T ≈ 17.32 × 2.039 ≈ 35.31 m.
- Check with the compact formula: R = 400 × sin 60° / 9.81 = 400 × 0.8660 / 9.81 ≈ 35.31 m.
The two methods agree, as they must. Getting the same answer both ways is a good habit for catching arithmetic slips.
Computing range in Python
The first function below uses the compact formula. The second goes through components and time of flight. Comparing them confirms the derivation, and it also checks the complementary-angle property.
import math
G = 9.81 # m/s^2
def range_formula(v0, angle_deg, g=G):
"""Range on level ground from R = v0^2 sin(2*theta) / g."""
theta = math.radians(angle_deg)
return v0**2 * math.sin(2 * theta) / g
def range_from_components(v0, angle_deg, g=G):
"""Range on level ground from vx * time of flight."""
theta = math.radians(angle_deg)
vx = v0 * math.cos(theta)
vy = v0 * math.sin(theta)
t_flight = 2 * vy / g
return vx * t_flight
v0 = 20.0
for angle in (15, 30, 45, 60, 75):
r1 = range_formula(v0, angle)
r2 = range_from_components(v0, angle)
assert math.isclose(r1, r2)
print(f"{angle:2d} deg: R = {r1:5.2f} m")
# Complementary angles give the same range
assert math.isclose(range_formula(v0, 30), range_formula(v0, 60))
print(f"R_max = v0^2/g = {v0**2 / G:.2f} m")The output is 20.39 m at 15°, 35.31 m at 30°, 40.77 m at 45°, 35.31 m at 60°, and 20.39 m at 75°. The maximum, v0² / g, is also 40.77 m.
The chart shows the same data. The curve is symmetric about 45°, which is the complementary-angle property seen graphically.
Solving for an angle or a speed
You can rearrange the formula to find other quantities.
- Required speed for a target range: v0 = √(R g / sin 2θ).
- Required angle for a target range: sin 2θ = R g / v0², so θ = ½ arcsin(R g / v0²).
Because arcsin returns a value between 0° and 90°, the result 2θ has a partner at 180° − 2θ. That gives two valid launch angles, θ and 90° − θ, which are the complementary pair. A single answer exists only at 45°, where R = R_max.
If R g / v0² is greater than 1, no angle works. The target is beyond the maximum range v0² / g, and arcsin is undefined there. In code, this shows up as a ValueError from math.asin, so check the ratio before calling it.
Common errors
- Degrees versus radians. Python's
math.sinexpects radians. Convert withmath.radiansbefore every trig call. Forgetting this gives plausible-looking but wrong numbers. - Using sin θ instead of sin 2θ. The compact formula contains the double angle. At 30°, sin 2θ is 0.866, but sin θ is 0.5.
- Squaring the wrong thing. The formula uses v0², the squared speed, not the squared component.
- Applying the formula off level ground. Any height difference between launch and landing invalidates it.
- Measuring the angle from the vertical. The formula assumes θ is measured from the horizontal. If the problem gives the angle from the vertical, use 90° minus that angle.
- Treating the result as a real-world prediction. In air, drag reduces the range. The ideal formula is an upper bound for a given launch speed and angle, and the effect is covered in a later chapter.
Exercises
Exercise
A projectile is launched at 25 m/s and 35° above the horizontal on level ground. Using g = 9.81 m/s², find the range. Then state the launch angle that would give the same range at the same speed.
Show answer
R = v0² sin 2θ / g = 625 × sin 70° / 9.81 = 625 × 0.9397 / 9.81 ≈ 59.9 m. The complementary angle is 90° − 35° = 55°, which gives the same range because sin 110° = sin 70°.
Exercise
At 20 m/s on level ground (g = 9.81 m/s²), what launch angles land the projectile exactly 30 m away? Is 50 m possible at this speed?
Show answer
sin 2θ = R g / v0² = 30 × 9.81 / 400 ≈ 0.7358, so 2θ ≈ 47.4° or 132.6°. The two angles are θ ≈ 23.7° and θ ≈ 66.3°, which add to 90°. For 50 m, R g / v0² = 490.5 / 400 ≈ 1.23, which is greater than 1, so no angle works. The maximum range is v0² / g ≈ 40.8 m.
Exercise
On the Moon, g ≈ 1.62 m/s². A golfer hits a ball at 45° with the same speed that would give 100 m on Earth. What range does the ball reach on the Moon, ignoring any atmosphere?
Show answer
R is proportional to 1/g, so the Moon range is 100 × 9.81 / 1.62 ≈ 606 m.