将运动分解为水平与竖直分量处理:
$$x(t) = v_0\cos\theta \cdot t,\qquad y(t) = h_0 + v_0\sin\theta \cdot t - \tfrac{1}{2}g t^2$$最高点:$H = h_0 + \dfrac{v_0^2\sin^2\theta}{2g}$, 飞行距离($h_0=0$):$R = \dfrac{v_0^2\sin 2\theta}{g}$
含空气阻力(线性阻力):$\ddot{\mathbf{r}} = \mathbf{g} - k\,|\mathbf{v}|\,\mathbf{v}$ 用RK4数值积分。与真空的差异通过残影轨道显示。
验证示例:$v_0=30,\ \theta=45^\circ,\ g=9.81$ → $R\approx 91.7$ m, $H\approx 22.9$ m。