12.4: Drag Force
- Page ID
- 84747
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\dsum}{\displaystyle\sum\limits} \)
\( \newcommand{\dint}{\displaystyle\int\limits} \)
\( \newcommand{\dlim}{\displaystyle\lim\limits} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\(\newcommand{\longvect}{\overrightarrow}\)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\ket}[1]{\left| #1 \right>}\)
\(\newcommand{\bra}[1]{\left< #1 \right|}\)
\(\newcommand{\braket}[2]{\left< #1 \vphantom{#2} \right| \left. #2 \vphantom{#1} \right>}\)
\(\newcommand{\braopket}[3]{\left< #1 \vphantom{#2}\vphantom{#3} \right| #2 \vphantom{#1}\vphantom{#3} \left| #3 \vphantom{#1}\vphantom{#2} \right>}\)
\(\newcommand{\qmvec}[1]{\mathbf{\vec{#1}}}\)
\(\newcommand{\op}[1]{\hat{\mathbf{#1}}}\)
\(\newcommand{\expect}[1]{\langle #1 \rangle}\)
\(\newcommand{\dfn}[1]{\emph{\textbf{#1}}}\)
A simple model for the drag force on a baseball is
\[\textbf{F}_\mathrm{d} = - \frac{1}{2} \, \rho v C_\mathrm{d} A \hat{\textbf{V}}\notag \]
where \(\textbf{F}_\mathrm{d}\) is a vector that represents the force on the baseball due to drag, \(\rho\) is the density of air, \(C_\mathrm{d}\) is the drag coefficient, and \(A\) is the cross-sectional area.
\(\textbf{V}\) is the baseball’s velocity vector, \(v\) is the magnitude of \(\textbf{V}\), and \(\hat{\textbf{V}}\) is a unit vector in the same direction as \(\textbf{V}\). The minus sign at the beginning means that the result is in the opposite direction to \(\textbf{V}\).
The function in Listing 12.2 computes the drag force on a baseball:
Listing 12.2: A function that calculates the drag force on a baseball
function res = drag_force(V)
C_d = 0.3; % dimensionless
rho = 1.3; % kg / m^3
A = 0.0042; % m^2
v = norm(V); % m/s
res = -1/2 * C_d * rho * A * v * V;
end
The drag coefficient for a baseball is about 0.3. The density of air at sea level is about 1.3 kg/m3. The cross-sectional area of a baseball is 0.0042 m2.
Now we have to update acceleration to take drag into account:
function res = acceleration(t, P, V)
g = 9.8; % acceleration due to gravity in m/s^2
a_gravity = [0; -g];
m = 0.145; % mass in kilograms
a_drag = drag_force(V) / m;
res = a_gravity + a_drag;
end
As in Listing 12.1, acceleration represents acceleration due to gravity with a vector that has magnitude g and direction along the negative y-axis. But now it also computes drag force and divides by the mass of the baseball to get acceleration due to drag. Finally, it adds a_gravity and a_drag to get the total acceleration of the baseball.
Figure 12.3 shows the following quantities graphically: (1) acceleration due to drag, \(\textbf{D}\), which is in the opposite direction to (2) velocity, \(\textbf{V}\); (3) acceleration due to gravity, \(\textbf{G}\), which is straight down; and (4) total acceleration, \(\textbf{A}\), which is the sum of \(\textbf{D}\) and \(\textbf{G}\).
Figure 12.4 shows the results from ode45. The ball lands after about 5 s, having traveled less than 150 m, substantially less than what we got without air resistance, about 250 m.
This result suggests that ignoring air resistance is not a good choice for modeling a baseball.


