Parabolic Motion: Convert to Equation & Formula

  • Thread starter Thread starter tarkimos
  • Start date Start date
  • Tags Tags
    Motion
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 4K views
tarkimos
Messages
6
Reaction score
0
I was wondering if it is possible to convert a projectile motion(velocity, direction, etc) into a (parabolic) equation.
I am programming a motion planner to use in a simple 'game' that I am making.
A formula would be appreciated.
I was thinking something like http://img99.imageshack.us/img99/187/eq220d30dcno9.png
To get the x value I am using the range formula
attachment.php?attachmentid=11352&stc=1&d=1193446035.png

I am then using a similar formula to calculate the total time of flight.
Then I am dividing the range by the total time of flight.
 

Attachments

  • formula1xw6.png
    formula1xw6.png
    209 bytes · Views: 511
Last edited by a moderator:
Physics news on Phys.org
If the acceleration is constant,
[tex]y(t) = \frac12 a t^2 + v(0) t + x(0)[/tex],
otherwise you should take something like
[tex]y(t) = \int v(t) dt = \iint a(t) dt dt[/tex]
and do a numerical integration.