A ball is thrown straight up into air that exerts quadratic drag
PHYSICS · Subjective · Fermi University Physics · Computational Physics · Mechanics & Dynamical Systems · Kinematics and Newtonian dynamics of particles
Computational Physics, Ch A falling body that knows about air: the first simulation
Problem
A ball is thrown straight up into air that exerts quadratic drag, with y measured upward and drag always opposing the instantaneous velocity: mv˙=−mg−bv∣v∣, with b>0 in kgm−1. The ball has mass m=0.15kg and drag constant b=0.0050kgm−1, and is released at y0=0 with upward velocity v0=15ms−1. Air resistance is the only force besides weight.
(a) Write the acceleration a(v)=−g−(b/m)v∣v∣ and the update rule (velocity from the acceleration, then position from the velocity already held before the step).
(b) Hand-compute v1, y1 after one step of Δt=0.20s, then v2, y2 after a second step of the same size, recomputing the drag term each time. Use g=9.81ms−2.