- #1
Ikeness
- 3
- 0
The problem is to give a projectile an initial velocity such that it lands a certain height and distance away (2D system, only x and y dimensions). The forces to account for are gravity and air drag.
The knowns are
x is target horizontal distance to travel
y is target height to travel
g is gravity
Any drag related constants can be found through experimentation I guess.
http://www.pha.jhu.edu/~broholm/l5/node3.html
This web page almost got me started. It has the equations
x = vi_x*t
y = vi_y*t + g*t^2/2
vi, the initial velocity, is what I am solving for. I can solve the above for vi, obviously, but the above does not account for any air drag.
If you could tell me how to put air drag into the above 2 equations, that would be great.
This is for a computer program, so if there is a solution with some approximations I can probably work them in there.
Thanks,
-Joel
The knowns are
x is target horizontal distance to travel
y is target height to travel
g is gravity
Any drag related constants can be found through experimentation I guess.
http://www.pha.jhu.edu/~broholm/l5/node3.html
This web page almost got me started. It has the equations
x = vi_x*t
y = vi_y*t + g*t^2/2
vi, the initial velocity, is what I am solving for. I can solve the above for vi, obviously, but the above does not account for any air drag.
If you could tell me how to put air drag into the above 2 equations, that would be great.
This is for a computer program, so if there is a solution with some approximations I can probably work them in there.
Thanks,
-Joel
Last edited by a moderator: