Sub topic 2
Position and velocity equations for x and y
This chapter assumes algebra, right-triangle trigonometry, and one-dimensional motion with constant acceleration. Air resistance is ignored, and gravity pulls straight down with g = 9.81 m/s².
Position and velocity equations
The launch speed v0 at angle θ splits into two parts:
- Horizontal: v0x = v0 cos θ
- Vertical: v0y = v0 sin θ
Horizontal acceleration is zero, so horizontal velocity stays constant. Vertical acceleration is -g. Starting from the origin, the equations are:
- x(t) = v0x t
- vx(t) = v0x
- y(t) = v0y t - ½ g t²
- vy(t) = v0y - g t
Time of flight
Time of flight is the total time the projectile spends in the air. On level ground, it lands when y = 0. Setting y(t) = 0 gives t(v0y - ½ g t) = 0. The nonzero root is:
T = 2 v0y / g
Maximum height
At the highest point, vy = 0, so the time to reach the top is t_top = v0y / g. Substituting this into y(t) gives:
H = v0y² / (2g)
Horizontal range
Range R is the horizontal distance at landing: R = v0x T = v0² sin(2θ) / g.
import math
g = 9.81
v0 = 20.0
theta = math.radians(30)
vx = v0 * math.cos(theta)
vy = v0 * math.sin(theta)
T = 2 * vy / g
H = vy**2 / (2 * g)
R = vx * T
print(f"T = {T:.2f} s, H = {H:.2f} m, R = {R:.2f} m")The output is T = 2.04 s, H = 5.10 m, R = 35.32 m.
Exercise
A ball is launched at 20 m/s at 30° from level ground. What is its height at t = 1 s?
Show answer
v0y = 10 m/s, so y(1) = 10(1) - ½(9.81)(1)² = 5.10 m.