image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

image Excel projectile motion, help! Share It Thread Tools Search this Thread image
Old Nov4-09, 02:01 AM       Last edited by mysticjbyrd; Nov4-09 at 02:10 AM..            #1
mysticjbyrd

mysticjbyrd is Offline:
Posts: 14
Excel projectile motion, help!

I am attempting to create an excel worksheet that accurately predicts the trajectory of a projectile.

Anyways, I am having some trouble with calculating wind along the Z axis, left or right of the target.
Y axis is up in the air
X axis is towards the target
Z axis is left or right of target

Fd = force of drag
Fw = force of wind
Fb = force applied on golf ball
p = Rho, density of air
Cd = Drag coefficient
V = velocity
A = Area, which for a sphere I am using A = PI(Diameter)^2 /4
m= mass of golf ball
a = acceleration of ball
t = time
z = distance off from z-axis

Force of wind(Fw) ->
<- Force of drag(Fd)


I am using,
Fd = 1/2*p*Cd*V^2*A

So,
Fw = 1/2*p*Cd*Vw^2*A
Vw = simply wind speed, Fw is constant

and

Fd = 1/2*p*Cd*Vd^2*A
Vd = Fw / mass * time

then
Fw - Fd = Fb
Fb = force applied on ball

Fb/mass = acceleration of ball

then
z = Vot + 1/2at^2

I am getting an acceleration that is roughly constant since I am dealing with low wind speeds and short time of flight. However, I am getting extremely low #'s for the distance the ball strays off on Z axis. I get the same answer if I use a constant acceleration or time stamps.

Information with just variables is fine with me, but if you want the data for some reason...
mass of golf ball = 0.04593
diameter of golf ball = 0.04267
Wind velocity = .44704 m/s
Rho = 1.1735 kg/m^3
Cd = .3878
time of flight = 1 sec

I am getting 0.0007221 meters off on z-axis.

Not sure where I am going wrong... Any help would be much appreciated.
  Reply With Quote
Old Nov4-09, 02:45 AM                  #2
fatra2

fatra2 is Offline:
Posts: 318
Re: Excel projectile motion, help!

Look here: http://www.physicsforums.com/showthread.php?t=351066

I just answered the same question to this dude.

Cheers
  Reply With Quote
Old Nov4-09, 02:53 AM                  #3
willem2

willem2 is Offline:
Posts: 316
Re: Excel projectile motion, help!

Originally Posted by mysticjbyrd View Post

Information with just variables is fine with me, but if you want the data for some reason...
mass of golf ball = 0.04593
diameter of golf ball = 0.04267
Wind velocity = .44704 m/s
Rho = 1.1735 kg/m^3
Cd = .3878
time of flight = 1 sec

I am getting 0.0007221 meters off on z-axis.
I'm getting 10 times that when I calculate it.

The way you calculate the drag and the force of the wind is wrong, you can't separate them
You need to add the vectors of the wind speed and the apparent wind because of the velocity of the ball, calculate the magnitude of the result, and calculate the total force from that, and then separate the force again in x, y and z components.
You'll get a much bigger force in the z direction that way. This is the same effect that makes cyclists feel more drag if there is a wind from the side.

Treating the drag force or the wind force as constant will only work if the velocity of the ball
changes little. Even in 1 second you get 10 m/s velocity change in the downward direction. This will have an influence on the windforce too. You really need to compute the solution of a set of differential equations for any realistic golfball trajectory. I suppose it can be done in excel with one row for each timestep.
  Reply With Quote
Old Nov4-09, 03:11 AM                  #4
willem2

willem2 is Offline:
Posts: 316
Re: Excel projectile motion, help!

Originally Posted by fatra2 View Post
Look here: http://www.physicsforums.com/showthread.php?t=351066

I just answered the same question to this dude.

Cheers
You were too late. Also your method won't work if the drag force is proportional to the square of the velocity, because you no longer can compute the x and y components separately.
  Reply With Quote
Old Nov4-09, 05:02 AM                  #5
fatra2

fatra2 is Offline:
Posts: 318
Re: Excel projectile motion, help!

Originally Posted by willem2 View Post
You were too late. Also your method won't work if the drag force is proportional to the square of the velocity, because you no longer can compute the x and y components separately.
In the case of a projectile thrown in the air, the drag force is linearly proportional to the velocity. Of course, you must consider that the air is homogenous.

Cheers
  Reply With Quote
Old Nov4-09, 09:20 AM                  #6
willem2

willem2 is Offline:
Posts: 316
Re: Excel projectile motion, help!

Originally Posted by fatra2 View Post
In the case of a projectile thrown in the air, the drag force is linearly proportional to the velocity. Of course, you must consider that the air is homogenous.
It's only linear for small velocities. While mysticjbyrd doesn't give the ball velocity, he is using quadratic friction. Everything I can find about friction with golfball sized objects uses a
quadratic friction force, as did mysticjbyrd so I have to assume a quadratic friction force here.
  Reply With Quote
Old Nov4-09, 10:04 AM       Last edited by mysticjbyrd; Nov4-09 at 12:42 PM..            #7
mysticjbyrd

mysticjbyrd is Offline:
Posts: 14
Re: Excel projectile motion, help!

Originally Posted by willem2 View Post
I'm getting 10 times that when I calculate it.

The way you calculate the drag and the force of the wind is wrong, you can't separate them
You need to add the vectors of the wind speed and the apparent wind because of the velocity of the ball, calculate the magnitude of the result, and calculate the total force from that, and then separate the force again in x, y and z components.
You'll get a much bigger force in the z direction that way. This is the same effect that makes cyclists feel more drag if there is a wind from the side.

Treating the drag force or the wind force as constant will only work if the velocity of the ball
changes little. Even in 1 second you get 10 m/s velocity change in the downward direction. This will have an influence on the windforce too. You really need to compute the solution of a set of differential equations for any realistic golfball trajectory. I suppose it can be done in excel with one row for each timestep.
Could you give me an example of what you did? I am still a little confused.
  Reply With Quote
Old Nov4-09, 07:21 PM                  #8
willem2

willem2 is Offline:
Posts: 316
Re: Excel projectile motion, help!

suppose the ball is moving at 10 m/s, and you have 1 m/s wind from the side.
The speed of the ball relative to the air is LaTeX Code:  v = \\sqrt{v_{ball}^2+{v_wind}^2}  = 10.05 m/s
the friction force is (1/2)*C*A*v^2. The sideways component of this is (1/2)*C*A*v*v_wind
this more than 10 times as big as the force of the wind on a stationary ball
  Reply With Quote
Old Nov5-09, 11:56 AM                  #9
mysticjbyrd

mysticjbyrd is Offline:
Posts: 14
Re: Excel projectile motion, help!

Ok so what you are saying is that you have to consider the velocity of the ball from both the X and Z.

But what about the velocity of the Y axis as the ball falls?

Sorry to be so annoying, I have only had 1 semester of physics thus far, and I appreciate the help.
  Reply With Quote
Old Nov7-09, 02:57 PM                  #10
mysticjbyrd

mysticjbyrd is Offline:
Posts: 14
Re: Excel projectile motion, help!

can anyone else give me some more input? Thanks
  Reply With Quote
Old Nov10-09, 05:20 PM                  #11
mysticjbyrd

mysticjbyrd is Offline:
Posts: 14
Re: Excel projectile motion, help!

Originally Posted by willem2 View Post
suppose the ball is moving at 10 m/s, and you have 1 m/s wind from the side.
The speed of the ball relative to the air is LaTeX Code:  v = \\sqrt{v_{ball}^2+{v_wind}^2}  = 10.05 m/s
the friction force is (1/2)*C*A*v^2. The sideways component of this is (1/2)*C*A*v*v_wind
this more than 10 times as big as the force of the wind on a stationary ball
You are using wind relative to the ground and not the ball... The ball wont be traveling anywhere near 1 m/s on z axis
  Reply With Quote
Old Nov20-09, 08:26 PM                  #12
mysticjbyrd

mysticjbyrd is Offline:
Posts: 14
Re: Excel projectile motion, help!

can anyone else give me some more input? Thanks
  Reply With Quote
Old Nov20-09, 09:37 PM                  #13
ideasrule

ideasrule is Offline:
Posts: 701
Re: Excel projectile motion, help!

If you're using small timesteps, the most naive possible algorithm works well; you don't need to use y=v0t+1/2gt^2. In each timestep, calculate:

1) acceleration (in x, y, z)
2) velocity
3) position
4) total drag force (remember to use the speed of the air as the ball sees it, not as the ground sees it)
5) components of drag force (you'll have to do some trigonometry for this one)
6) in the next time step acceleration will be calculated again

Also, golf balls usually have a time of flight much longer than one second.
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: Excel projectile motion, help!
Thread Thread Starter Forum Replies Last Post
Projectile Motion with Air Resistance Excel... EVIL... gMitchell Advanced Physics 7 Nov4-09 10:37 AM
Projectile Motion assignment - Building a projectile launcher Hans Introductory Physics 3 Oct21-09 04:59 PM
Motion Simulation using Graphing Technique in Microsoft Excel akedynamic Math & Science Software 0 Jun29-09 12:26 PM
Projectile Motion + Linear Motion = Problem ktd Introductory Physics 3 Feb21-05 08:04 PM
Uniform Circualr Motion with Projectile Motion problem (Extremely confusing): VinnyCee Introductory Physics 4 Sep27-04 07:29 AM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image