Solved

Realistic Ballflight

Posted on 1998-10-06
3
249 Views
Last Modified: 2013-11-20
Hello All,

This is a math \ geometry problem, but don't let that put you off.  If we have any number crunchers in our midst, perhaps they'll like to play with this...

I am looking for a formula which will create a realistic ballflight using parameters of DistanceX and TakeOff Trajectory.  I am currently using "y = (X * (dist - X)) / (dist * Trajectory)" and find this creates a symmetrical
path over which I have sufficient control.  

However, this formula does not, of course, allow me to create a path in which the zenith is not absolutely central to the Xdisplacement.  Ideally, this would occur somewhere around 2/3(?) of the distance.

I have considered using 2 formulae to derive the path, with the calculation being processed by the secondary routine after the xdisplacement reaches 2/3 total distance, but can't make it work properly.

I am convinced (but in no way informed) that I need the formula for an 'egg' shape, cut through at an offset angle.

If anyone has any knowledge of parabolas, trajectories, ballistics or amateur golf I would love to hear your ideas.

I think we can treat the mass of the ball as a constant, and ignore any wind effect, but it would be nice to add a parameter which modifies take off velocity.

Thanks in advance.
0
Comment
Question by:golfpro
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 200 total points
Comment Utility
The trajectory of a constant mass in a gravitational field is always parabolic, the shape of the curve only depends on the inital parameters as velocity and start angle.

The formula is:

y = x * tan ( a) - g / ( 2* v0^2 * ( cos ( a))^2)

where a is the starting angle to the x-axis ( sorry, no alpha sign on my keyboard ;-), g is the earth gravity (9.81 m/s^2) and v0 the initial velocity.
0
 
LVL 2

Expert Comment

by:jstolan
Comment Utility
But if you want the real trajectory you do need to take into account the effect of drag.  This results in a decelleration of the object. The equation for this is

Acc = - K * V;

Where K is a constant and V the instantaneous velocity.  So the faster the object is going the greater the decelleration.
0
 
LVL 86

Expert Comment

by:jkr
Comment Utility
jstolan, you're absolutely right. The problem is that this would end up in solving a multidimensional differential equation of at least degree 2 (as the acceleration is a vector of the components g and Acc, and V  - also vectorial now - depends on the acceleration vector ... &%$§$ can't type integral signs here ;-), so it'd be better to assume a constant wind velocity....
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
ORA-01403: no data found 43 82
Doc'in system (example?) BA 7 78
withoutTen challenge 14 87
Not needed 13 53
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now