Results 1 to 4 of 4

Thread: Path of a projectile

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2001
    Posts
    80

    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.

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Oct 2001
    Posts
    80
    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.

  3. #3
    Hyperactive Member DavidHooper's Avatar
    Join Date
    Apr 2001
    Posts
    357
    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.

  4. #4
    Frenzied Member
    Join Date
    Jul 1999
    Location
    Huntingdon Valley, PA 19006
    Posts
    1,151
    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
  •  



Click Here to Expand Forum to Full Width