Avatar of k heitz
k heitz
 asked on

Formula to find Distance from Exit Velocity and Launch Angle

Hi Experts;
I've tried researching via google and have come up short.
I need assistance with a formula to predict the distance of a projectile.
I have the exit velocity and the launch angle.
I am writing in C#, but am new to it. Mostly, what I need is just a formula.
For extra credit :), I eventually will need to predict the max height of the projectile (using EV, LA and predicted Distance).

Thank you!
Math / Science

Avatar of undefined
Last Comment
k heitz

8/22/2022 - Mon
David Johnson, CD

you have to consider atmospheric drag and gravity, wind direction and speed, humidity, initial elevation and terminal elevation. There is a lot of science on external ballistics
https://en.wikipedia.org/wiki/External_ballistics#Artillery_software_suites
Paul Sauvé

(Google search:
distance of a projectile formula
)


you can find all your answers here: :
Projectile Motion
Basic Equations and Parabolic Path
  • Projectile motion is a form of motion where an object moves in parabolic path; the path that the object follows is called its trajectory.
k heitz

ASKER
Hi David;
As I research farther I found I definitely need to include gravitational force (or any >0 angles will never come back to earth). I'm working on how to find/apply that value.
Regarding wind, humidity we've determined we can accept results without those variables. My function is limited to 500 ft (baseball stadium). This may also eliminate the need for initial and terminal elevation as the field is flat. But I admit I'm not sure what those terms are referring to (from mountain to sea or bat contact to ground (approx 24 inches)).

I appreciate the link. I'll study.
Thank you.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
k heitz

ASKER
Hi Paul -
Thank you for the resource. I'll study.
ASKER CERTIFIED SOLUTION
Paul Sauvé

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
k heitz

ASKER
Hi Paul ~
Excellent info. Thank you!
phoffric

Once the projectile is launched, it experiences a constant downward acceleration of 32 ft per second squared. This downward acceleration due to gravity is what makes the projectile fall towards earth.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
k heitz

ASKER
Hi All;
Thank you very much for the information and references. I spent days studying projectile motion and the ways to calculate range, height and hang time.
Unfortunately, the approach shifted from actual calculations to pre-set data from a table generated from our known data.
Instead we are querying out  'if exit speed >= x and launch angle >= y; result = n'.
None the less, the resources and study are worth it knowing the approach we're starting with will most likely need to be perfected in the future.
Thank you again!