@SF. and @MarkAdler gave excellent answers. There is another closely related parameter that appears in the diagram by Beiser in your question statement: $\theta$.
The astrodynamics equivalent is the bending angle, $\delta$. It is the angle from the direction of the approach asymptote (and thus the approach $V_∞$ vector) to the direction of the departure asymptote (and thus the departure $V_∞$ vector), making it the angle through which the trajectory "bends" as a result of the flyby.
The $\theta$ shown in the Beiser diagram is appropriate for repulsive forces, with the trajectory of the "projectile" bending away from the nucleus. Were the projectile negatively charged the trajectory would bend toward the nucleus, much as gravity bends the trajectory of an object flying by a massive body (the primary) toward the primary.
If you know the trajectory's eccentricity e, then finding $\delta$ is easy via the relation $$\sin\frac{\delta}{2} = \frac{1}{e}$$ yielding $$\delta = 2\sin^{-1}\frac{1}{e}$$
Various constraints on the trajectory can set the value of e, assuming a spherical primary. As an example, for a primary with gravitational parameter $\mu$ (= GM, where G is the universal gravitational constant and M is the mass of the primary), if you know the magnitude of the approach $V_∞$ and want a specific radius of closest approach $r_p$ (periapse radius), the eccentricity is then $$e = 1 + \frac{r_p}{\mu} {V_∞}^2$$ and b follows: $$b = r_p \sqrt{\frac{e+1}{e-1}}$$