----------------------------- parabola solving.
p_y(t) = 0 + vy * t - g t^2 / 2 p_x(t) = 0 + vx * t quadratic equation for p_y(t_f) = 0. ax^2 + bx + c a = -g b = vy (t_0, t_f) = [-b +- sqrt(b^2 - 4ac)] / 2a
----------------------------- parabola solving.
p_y(t) = 0 + vy * t - g t^2 / 2 p_x(t) = 0 + vx * t quadratic equation for p_y(t_f) = 0. ax^2 + bx + c a = -g b = vy (t_0, t_f) = [-b +- sqrt(b^2 - 4ac)] / 2a