Support Wrong Planet Awareness!
| View previous topic :: View next topic |
| Author |
Message |
Orwell Outer Party Member

Joined: Aug 09, 2007 Age: 18 Posts: 3699 Location: Room 101
|
Posted: Tue May 13, 2008 8:36 pm Post subject: Projectile motion with air resistance? |
|
|
I'm trying to calculate projectile motion while taking air resistance into account. All my physics teacher could tell me was that it involved differential equations.
Could anyone help me out with this? Perhaps point to a site that explains it... _________________ WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH |
|
| Back to top |
|
pakled "Bless his Heart"

Joined: Nov 13, 2007 Age: 50 Posts: 2758
|
Posted: Tue May 13, 2008 11:04 pm Post subject: |
|
|
| all I know is it's usually a parabola of some sort. |
|
| Back to top |
|
Orwell Outer Party Member

Joined: Aug 09, 2007 Age: 18 Posts: 3699 Location: Room 101
|
Posted: Tue May 13, 2008 11:07 pm Post subject: |
|
|
| pakled wrote: | | all I know is it's usually a parabola of some sort. |
yeah, that's how it works without air resistance... well, I suppose it would still be parabolic with air resistance. I'll probably be making a few simplifying assumptions along the way. It's for a calculus project and I have to calculate shooting something halfway across the country. _________________ WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH |
|
| Back to top |
|
coyote Supporting Member


Joined: Nov 11, 2004 Posts: 387 Location: not sure
|
Posted: Tue May 13, 2008 11:13 pm Post subject: |
|
|
the air resistance is always acting in the exact opposite direction than path.
it gets higher with speed, by a factor of 2nd power.
the higher it gets, the more it slows the projectile, which reduce it's impact on speed (that's where you need calculus).
hope that helps a bit.... hope you're not a terrorist building a missile ?  _________________ ______________________________________
alone in the crowd |
|
| Back to top |
|
wolphin Velociraptor


Joined: Aug 16, 2007 Posts: 441
|
Posted: Wed May 14, 2008 6:10 am Post subject: |
|
|
Try this:
(because of the backgrounding it may be kind of hard to read - click on it to see the original)
This is a 2nd order nonlinear differential equation in 3 variables (or one 3D vector) for the (approximate) position of a free sphere with radius D (in meters), with mass m (in kg), close enough to earth where g is a good approximation of the acceleration due to gravity in a vacuum, in regular air at STP (this info quoted from Classical Mechanics, by Taylor, pp 71-72)
Note that it is second order in a 3D vector, just like newton's 2nd law (recognize the "F=ma=mg" part)
Also note that it's nonlinear, due to the extra dependence on the magnitude of the velocity of the sphere in the quadratic term.
Thirdly note that beta is significantly smaller than gamma. Therefore, the quadratic (and nonlinear) component of the air friction dominates the linear component (which is also linear in the sense of the diffeq, no coincidence). Therefore, you cannot take the linear diffeq you get from dropping the quadratic term as a good approximation.
I forget if closed form solutions to this exist (I just grabbed the book, I only skimmed through it for the equation), but usually, with nonlinear stuff people head straight to the computer to solve it numerically.
edit: and fourthly note that coyote is right - it is primarily quadratic, the frictional force is always opposite to the velocity, and that also, in general, the path is not a parabola or any other conic section of any sort. |
|
| Back to top |
|
Orwell Outer Party Member

Joined: Aug 09, 2007 Age: 18 Posts: 3699 Location: Room 101
|
Posted: Wed May 14, 2008 2:51 pm Post subject: |
|
|
Thanks guys, I'll take a look at what you posted and see if I can go from there. I'm in high school, so this is a bit past what I'm used to.
| coyote wrote: | hope that helps a bit.... hope you're not a terrorist building a missile ?  |
No, but for an open-ended project in BC Calculus my partner (assigned) insisted that we calculate what it would take to fire our textbook halfway across the country to hit its author at the university he teaches at...(sigh) I wanted to go ahead and throw in the air resistance, so we were actually doing CALCULUS, but she didn't know how, which is why I'm now asking for help here. _________________ WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH |
|
| Back to top |
|
korppi Snowy Owl


Joined: Dec 28, 2006 Posts: 149 Location: Helsinki, Finland
|
Posted: Wed May 14, 2008 4:13 pm Post subject: |
|
|
| Orwell wrote: | | my partner (assigned) insisted that we calculate what it would take to fire our textbook halfway across the country to hit its author at the university he teaches at |
I like the idea
I guess that if you could really do it, you would literally fire it (it would ignite because of the enormous speed). |
|
| Back to top |
|
PlainBlueSky Emu Egg


Joined: May 14, 2008 Posts: 8
|
Posted: Thu May 15, 2008 2:54 am Post subject: |
|
|
You might try a numerical method, a la Euler's method. Don't know where you are in calculus, but something like:
dt = time-slice, some small value
vx = initial x-velocity
vy = initial y-velocity
g = grav. accelleration
a = coeff. of air resistance
x = y = t = 0
while ( y >= 0 ) { // stop when the projectile hits the ground
Fx = -a * ( vx^2 + vy^2 ) * sign(vx)
Fy = -g * m - a * ( vx^2 + vy^2 ) * sign(vy)
ax = Fx / m
ay = Fy / m
vx = vx + ax * dt
vy = vy + ay * dt
x = x + vx * dt
y = y + vy * dt
t = t + dt
plot (x,y) // or whatever
}
You could tweak Fx and Fy to suit what model of air resistance you want, and if you want to get fancy use the Runga-Kutta (sp?) or some other method. |
|
| Back to top |
|
wolphin Velociraptor


Joined: Aug 16, 2007 Posts: 441
|
Posted: Thu May 15, 2008 4:00 am Post subject: |
|
|
Unless you really know what you're doing, implementing your own numerical diffeq solver is not really easy at all - there are so many little subtleties that tend to crop up.
If you have access to mathematica or matlab or such, things are much easier - just use their built in numerical integrators. (for example, see: http://reference.wolfram.com/mathematica/tutorial/NDSolveIntroductoryTutorial.html ) |
|
| Back to top |
|
PlainBlueSky Emu Egg


Joined: May 14, 2008 Posts: 8
|
Posted: Fri May 16, 2008 7:03 am Post subject: |
|
|
| Well this problem seems simple enough -- it's not like it's a fluid dynamics problem or something. I did this sort of thing in high school constantly and it worked well enough (and later learned in college what it was). Estimating/controlling the error might be tough, but I guess that would depend on how rigorously the instructor wants things done. |
|
| Back to top |
|
wolphin Velociraptor


Joined: Aug 16, 2007 Posts: 441
|
Posted: Sat May 17, 2008 4:19 am Post subject: |
|
|
Yeah, you're probably right. I'm just averse to implementing numerical algorithms, I think  |
|
| Back to top |
|
Orwell Outer Party Member

Joined: Aug 09, 2007 Age: 18 Posts: 3699 Location: Room 101
|
Posted: Sat May 17, 2008 9:36 am Post subject: |
|
|
How would I calculate it if I don't have access to mathematica, maple etc? _________________ WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH |
|
| Back to top |
|
lau Quinquaginta Novem! Male Gee-knee-us + silly bits.

Joined: Jun 18, 2006 Age: 59 Posts: 7044 Location: Somerset UK
|
Posted: Sat May 17, 2008 10:51 am Post subject: |
|
|
| Orwell wrote: | | How would I calculate it if I don't have access to mathematica, maple etc? |
It depends what your "etc" excludes.
If you have access to a Linux system, I guess Maxima will suffice.
In any case, a program (in C, Basic, whatever) as outlined by PlainBlueSky will work. You would need to"hunt around" with initial launch speed and angle to see what would give the range you require. Also, retrying the solution with varying time steps will be needed to give confidence in its accuracy.
And... the short answer to "How would I calculate it" is that you can't. The best you will manage is a numerical approximation.
Drop air resistance, and you'll have less hassle, except that the range you are after is still going to give you a problem, as it is not a parabolic trajectory, even to first order, so you should be treating it as an ellipse and solving it as a problem in orbital mechanics.
If you keep the air, I'd guess that the solution is that it is impossible. As korppi remarked earlier, the velocity needed to attain the range will certainly result in anything made of paper (and most other materials) instantly vaporizing.
If your "books" consisted of nanotech encodings on a pinhead at the centre of a large ceramic ball, maybe you could get the range. _________________ Oregano, n: The ancient Italian art of pizza folding.
Laws:
Ogden: The sooner you fall behind, the more time you have to catch up.
Oliver: Experience is something you don't get until just after you need it.
Osborn: Variables won't; constants aren't. |
|
| Back to top |
|
richie Ye Olde Bookwyrme


Joined: Jan 10, 2007 Age: 49 Posts: 11229 Location: Lake Whoop-Dee-Doo, Pennsylvania
|
Posted: Sat May 17, 2008 4:43 pm Post subject: |
|
|
| lau wrote: | | Orwell wrote: | | How would I calculate it if I don't have access to mathematica, maple etc? |
It depends what your "etc" excludes.
If you have access to a Linux system, I guess Maxima will suffice.
In any case, a program (in C, Basic, whatever) as outlined by PlainBlueSky will work. You would need to"hunt around" with initial launch speed and angle to see what would give the range you require. Also, retrying the solution with varying time steps will be needed to give confidence in its accuracy.
And... the short answer to "How would I calculate it" is that you can't. The best you will manage is a numerical approximation.
Drop air resistance, and you'll have less hassle, except that the range you are after is still going to give you a problem, as it is not a parabolic trajectory, even to first order, so you should be treating it as an ellipse and solving it as a problem in orbital mechanics.
If you keep the air, I'd guess that the solution is that it is impossible. As korppi remarked earlier, the velocity needed to attain the range will certainly result in anything made of paper (and most other materials) instantly vaporizing.
If your "books" consisted of nanotech encodings on a pinhead at the centre of a large ceramic ball, maybe you could get the range. |
Maxima is available for Windows. And I used to do all my electronic calculations from simple Ohm's law in DC circuits to
calculating RCL impedances using a Quattro-Pro spread-sheet program back in the nineties... _________________ Autie was I ere I saw Eitua |
|
| Back to top |
|
Orwell Outer Party Member

Joined: Aug 09, 2007 Age: 18 Posts: 3699 Location: Room 101
|
Posted: Sat May 17, 2008 5:44 pm Post subject: |
|
|
| richie wrote: | Maxima is available for Windows. And I used to do all my electronic calculations from simple Ohm's law in DC circuits to
calculating RCL impedances using a Quattro-Pro spread-sheet program back in the nineties... |
I'm on a Mac. I'm trying to see if I can get access to Mathematica, but I'm not too confident about it. _________________ WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH |
|
| Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|