Trajectory Position At A Given Time

AI Thread Summary
To model projectile motion and determine the X and Y coordinates at any given time, the discussion emphasizes using idealized conditions such as a flat earth, constant gravity, and no air resistance. The equations derived from Newton's laws provide a straightforward solution for the horizontal and vertical positions over time. The horizontal position is calculated using x(t) = v_x(0)t, while the vertical position is given by y(t) = Y_0 + v_y(0)t - (g t^2)/2, where v_y(0) is the initial vertical velocity. For more complex scenarios, numerical approximation methods may be necessary. Understanding these foundational equations allows for accurate modeling of projectile motion in graphics programs.
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

v_x (0) =v_i(0) cos(\theta)
so
x(t) = v_x(0)t + C

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

Gravity acts in the y direction so

\frac {d^2y} {dt^2} = -g

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

y(t) = Y_0 + v_y(0)t - \frac {g t^2} 2
 
Last edited:
And thereby Integral has derived your parabolic curve, parameterized by time t.
 
The rope is tied into the person (the load of 200 pounds) and the rope goes up from the person to a fixed pulley and back down to his hands. He hauls the rope to suspend himself in the air. What is the mechanical advantage of the system? The person will indeed only have to lift half of his body weight (roughly 100 pounds) because he now lessened the load by that same amount. This APPEARS to be a 2:1 because he can hold himself with half the force, but my question is: is that mechanical...
Hello everyone, Consider the problem in which a car is told to travel at 30 km/h for L kilometers and then at 60 km/h for another L kilometers. Next, you are asked to determine the average speed. My question is: although we know that the average speed in this case is the harmonic mean of the two speeds, is it also possible to state that the average speed over this 2L-kilometer stretch can be obtained as a weighted average of the two speeds? Best regards, DaTario
Some physics textbook writer told me that Newton's first law applies only on bodies that feel no interactions at all. He said that if a body is on rest or moves in constant velocity, there is no external force acting on it. But I have heard another form of the law that says the net force acting on a body must be zero. This means there is interactions involved after all. So which one is correct?
Back
Top