Trajectory Position At A Given Time

Click For Summary

Discussion Overview

The discussion revolves around modeling the trajectory of a projectile, specifically a ball being thrown, to determine its X and Y coordinates at any given time based on initial velocity and launch angle. The focus includes theoretical aspects of projectile motion and potential simplifications or assumptions involved in the modeling process.

Discussion Character

  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant seeks an equation to calculate the X and Y coordinates of a projectile at specific times given arbitrary velocity and angle.
  • Another participant questions the simplifying assumptions being made, such as whether the model assumes a flat earth, constant gravity, and neglects air resistance.
  • A participant provides a time-dependent solution using Newton's laws, detailing the equations for X and Y coordinates based on initial velocity and angle.
  • Another participant acknowledges the derivation of the parabolic curve as a result of the integration process involved in the calculations.

Areas of Agreement / Disagreement

Participants have not reached a consensus on the assumptions necessary for the model, and there are differing views on the complexity of the solution based on those assumptions.

Contextual Notes

The discussion highlights potential limitations related to the assumptions of ideal conditions, such as neglecting air drag and the effects of altitude on gravity, which may affect the accuracy of the model.

sklar
Messages
1
Reaction score
0
I am writing a graphics program to model projectile motion of a ball being thrown. What I am looking for is an equation that will give a specific X and Y coordinate, in the parabolic path, for any specific time it is given, and a arbitratry velocity and angle.

For example, if I give it some arbitrary velocity and angle, I would like to be able to figure out how high in the air the ball is and how far it has traveled horizontally at 5 seconds, 13.4 seconds or any other random time.

Any help would be appreciated.

Sklar
 
Physics news on Phys.org
What sort of simplifying assumptions are you making? A flat earth, constant acceleration of gravity w.r.t. altitude, no air drag? Since you mention "parabolic path," I imagine you are going with all of these idealizations.

If you idealize (simplify) things enough, you can make use of closed-form solutions that were worked out with calculus centuries ago. If you are going to make it more realistic, you will probably have to resort to numerical approximation methods.
 
A strictly time depentent solution is pretty easy. The only force acting is gravity. Application of Newtons laws gives.

in the x direction

[tex]v_x (0) =v_i(0) cos(\theta)[/tex]
so
[tex]x(t) = v_x(0)t + C[/tex]

If you define the origion as the point where the ball is thrown C=0

Gravity acts in the y direction so

[tex]\frac {d^2y} {dt^2} = -g[/tex]

[tex]\frac {dy} {dt} = -gt + v_y(0)[/tex]
but
[tex]v_y(0) = v_i(0) sin (\theta)[/tex]

[tex]y(t) = Y_0 + v_y(0)t - \frac {g t^2} 2[/tex]
 
Last edited:
And thereby Integral has derived your parabolic curve, parameterized by time t.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
23K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 25 ·
Replies
25
Views
5K
  • · Replies 9 ·
Replies
9
Views
2K