Given a satellite in an equatorial orbit, a specific prograde or retrograde burn is executed at an arbitrary point within the orbit, and I need to calculate the resulting orbital ellipse.
The technique I'm using is to first use the position and velocity vectors of the satellite to find the flight path angle, as follows:
$\varphi = cos^{-1}(\frac{r_pv_p}{r_bv_b})$
Where $r_p$ and $v_p$ are the position and velocity vectors at the periapsis of the original orbit, and $r_b$ and $v_b$ are the position and velocity vectors at the point of the burn, and $v_b = v_{orig} + \Delta v$.
Then I calculate the eccentricity of the resulting ellipse as follows:
$e = \sqrt{(\frac{r_bv^2 _b}{GM}-1)^2 \cos^2(\varphi) + sin^2(\varphi)}$
From the eccentricity, I can trivially calculate the semi-major axis.
What I do not know how to calculate is the argument of periapsis, $\omega$, of the resulting elliptical orbit. I recognize that it is a function of the original orbit's $\omega$ and the angular position of the burn, but I'm getting stuck coming up with the right calculation. Does anyone know of a formula to find it?