[Physics] What was the muzzle velocity of a homemade gun launched straight up if air time was 8.2sec

draghomework-and-exercisesnewtonian-gravitynewtonian-mechanicsprojectile

I built a potato gun and wanted to calculate the muzzle velocity. I remember from physics that I could run the numbers by calculating time from launch until landing. After pointing straight into the air and launching the potato was air-born for 8.2sec.

Without air resistance that comes out to a muzzle velocity of around 90mph which is probably consistent as we can't see the projectile leave the muzzle.

I would like to get a more accurate calculation of what that would be with air resistance. Assuming a spherical potato that is 4ounces with a 2" diameter. Launched at 90 degrees with a 8.2sec air time.

Best Answer

The air resistance of a sphere is given by²

$$ F_{\textrm{drag}} = \frac{1}{2} \rho C_d A v^2 $$

$C_d$ is usually set to $0.1$ for a sphere¹, $A$ is the relevant surface area, that is, $\left(\frac{\textrm{diametre}}{2}\right)^2 \pi$, $\rho \approx 1.2\textrm{ kgm}^{-3}$³.

We can set up a 1-dimensional coordinate system with "up" being in the positive $s$ direction. Then we have

$$ F_{\textrm{grav}} = - mg $$

and

$$ F_{\textrm{drag}} = - \left(\frac{1}{2} \rho C_d A \equiv K \right) \frac{v^3}{\sqrt{v^2}} $$

as it acts in the direction opposite to $v$. I have introduced a constant $K$ to simplify notation. Then:

$$ -m g - K \frac{v^3}{\sqrt{v^2}} = m \frac{\textrm{d}v}{\textrm{d}t} $$

which is a first-order differential equation in $v$ but second-order in $s$. However, it is not trivial to solve it, as it contains terms non-linear in $v$. Solving the system numerically is also non-trivial, as one of the initial conditions, $v(0)$ is unknown (i.e. we can’t simply evolve it in time from $t = 0$).

The boundary/initial conditions we have are:

$$ s(t = 0) = 0 \quad ; \quad s(t=8.2) = 0 ; \quad v(t=0) = v_0 $$

I would probably go about setting $v(0)$ to some number, then let the system evolve and check where the object is at $t = 8.2$ - if $s$ is positive, decrease $v(0)$, if $s$ is negative, increase $v(0)$ (basically solve the problem numerically).

I think solving the problem numerically would be easier if we had the maximum height $s_{\textrm{max}}$ in the objects path. Setting the time at which it reaches this height to $0$, we would have:

$$ s(0) = s_{\textrm{max}} \quad ; \quad v(0) = 0 $$

and one could simply evolve the system backwards in time until $s(t) = 0$.

I am sorry I cannot give a complete answer, but maybe someone else has an idea on how to continue from here?

Update

John Rennie posted a helpful link which claims to have an analytic solution to this problem. I did not verify said solution, but picked out two formulae:

$$ t_{\textrm{imp}} = \tau \cosh^{-1}\left( \exp\left( \frac{y_{\textrm{peak}}}{\tau v_t}\right) \right)$$

$$ y_{\textrm{peak}} = - v_t \tau \ln\left( \cos\left( \tan^{-1}\left( \frac{v_0}{v_t} \right) \right) \right) $$

where $\tau$ is the characterstic time, $v_t$ is the terminal velocity (the maximum velocity a freely-falling object reaches due to air drag opposing gravity) and $t_{\textrm{imp}}$ is the time after which an object reaches the ground again. $v_0$ is the inital velocity we’re looking for.

Rearranging this gives:

$$ \tan \left( \cos^{-1} \left( \exp \left( - \ln \left( \cosh \left( \frac{t_{\textrm{imp}}}{\tau} \right) \right) \right) \right) \right) v_t = v_0 $$

$v_t$ is given as

$$v_t = \sqrt{\frac{2 m g}{C_d \rho A}}$$

and $\tau = v_t / g$. Plugging all this together gives me:

$$ v_0 = 91.032\textrm{ ms}^{-1} = 203\textrm{ mph} $$

For reference, the thing I put into Qalculate is:

tan(acos(e^(−ln(cosh(8.2s × 9.81 N/kg / sqrt( (2× 4ounce × 9.81 N/kg)/(0.1 × 1.29 kg/m^3 × Pi × (1 in)^2)))))))×sqrt( (2× 4ounce × 9.81 N/kg)/(0.1 × 1.29 kg/m^3 × Pi × (1 in)^2))