The drag force, due to air resistance, on an object can be expressed as
$$
F_{d}=\frac{1}{2} C_{D} \varrho A V^{2}
$$
where \(\varrho\) is the density of the air, \(V\) is the velocity of the object,
\(A\) is the cross-sectional area (normal to the velocity direction), and
\(C_{D}\) is the drag coefficient, which depends heavily on the shape of the
object and the roughness of the surface.
The gravity force on an object with mass \(m\) is \(F_{g}=m g\), where \(g=9.81
\mathrm{~ms}^{-2}\).
We can use the formulas for \(F_{d}\) and \(F_{g}\) to study the importance of air
resistance versus gravity when kicking a football. The density of air is
\(\varrho=1.2 \mathrm{~kg} \mathrm{~m}^{-3}\). We have \(A=\pi a^{2}\) for any
ball with radius \(a\). For a football \(a=11 \mathrm{~cm}\). The mass of a
football is \(0.43 \mathrm{~kg}, C_{D}\) can be taken as \(0.2\).
Make a program that computes the drag force and the gravity force on a
football. Write out the forces with one decimal in units of Newton
\(\left(\mathrm{N}=\mathrm{kg} \mathrm{m} / \mathrm{s}^{2}\right)\). Also print
the ratio of the drag force and the gravity force. Define \(C_{D}, \varrho, A,
V, m, g, F_{d}\), and \(F_{g}\) as variables, and put a comment with the
corresponding unit. Use the program to calculate the forces on the ball for a
hard kick, \(V=120 \mathrm{~km} / \mathrm{h}\) and for a soft kick, \(V=10
\mathrm{~km} / \mathrm{h}\) (it is easy to mix inconsistent units, so make sure
you compute with \(V\) expressed in \(\mathrm{m} / \mathrm{s}\) ). Name of program
file: kick.py.