Answer:
[tex]G = \frac{v_i^2}{2M_E(\frac{1}{R_i} - \frac{1}{R_f})}[/tex]
Explanation:
As we know that during the projection of rocket the total mechanical energy is conserved as there is no friction in it's motion
So we will have
[tex]\frac{1}{2}mv_i^2 - \frac{GM_Em}{R_i} = 0 - \frac{GM_Em}{R_f}[/tex]
now divide whole equation by mass of the object
[tex]v_i^2 - \frac{2GM_E}{R_i} = - \frac{2GM_E}{R_f}[/tex]
[tex]v_i^2 = 2GM_E(\frac{1}{R_i} - \frac{1}{R_f})[/tex]
now we can rearrange above equation to find gravitational constant
[tex]G = \frac{v_i^2}{2M_E(\frac{1}{R_i} - \frac{1}{R_f})}[/tex]
So above is the expression for gravitational constant G