Solution (source code)

= Solution

Apply axial momentum balance to the fluid between the remote sections $x_1$ and $x_2$. The pressure forces on the end discs, the integrated tube-wall shear, and the force exerted by the sphere are the only resultant axial forces. The sphere is <force-free>, so its contribution vanishes and
$$
\boxed{
a\int_{x_1}^{x_2}\int_0^{2\pi}
\sigma_{rx}(a,\theta,x)\,d\theta\,dx
=\pi a^2[p(x_2)-p(x_1)].}
$$
This is the <wall-shear and pressure-drop balance in a tube>.