|
-
Mar 18th, 2002, 06:58 PM
#1
Thread Starter
Lively Member
Path of a projectile
I have a projectile starting at a certain location. I know the original x and y, the initial power, gravity, and also the wind speed. I need to be able to plot a point where the projectile is going to be at a certain time taking into the account all of these values. Technically I found the two equations that should be used, but for some reason instead of going in an arch the projectile goes in a curve upward from the origin. I've checked all the values and they are all accurate. Can someone give these two equations and explain them? Thanks.
-
Mar 18th, 2002, 10:12 PM
#2
Thread Starter
Lively Member
Right, should have specified that. I have the initial velocity not power. Air drag would be nice (I would be specifying how much, or what the altitude is), but it's not necessary.
-
Mar 19th, 2002, 01:33 PM
#3
Hyperactive Member
I remember this from mechanics lessons:
y = xtanT - (0.5 g x^2) / (V^2 cos^2(T))
y is vertical co-ord.
x is horizontal co-ord.
T is launch angle.
V is launch speed.
g is gravity.
That's if memory serves correctly This takes no account of wind speed although you can add it in if you go back to the s=ut+0.5at^2 and put in a wind term. Post again if you're stuck.
There are 10 types of people in the world - those that understand binary, and those that don't.
-
Mar 19th, 2002, 02:06 PM
#4
Frenzied Member
It seem to me that the equations are something like the following.
Code:
Distance = InitialDistance + Velocity*Time*Cosine(LaunchAngle)
Height = InitialHeight + Velocity*Time*Sine(LaunchAngle) - GravityAcceleration*Time^2 / 2
If the above are not correct, they are close to the correct equations. When not paid with money or sexual favors, I do not verify my memory versus some of the books I have.
If Velocity is a function of time (and maybe itself) due to air resistance, then you can plug it into the above.
Live long & prosper.
The Dinosaur from prehistoric era prior to computers.
Eschew obfuscation!
If a billion people believe a foolish idea, it is still a foolish idea!
VB.net 2010 Express
64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|