ME2000 Project - Projectile Motion: November 18, 2004
ME2000 Project - Projectile Motion: November 18, 2004
for the horizontal position. All of these equations are taken as functions of the time t since projectile launch. Using a model where uid resistance is included, drag forces will counteract any motion of the body through the uid, in both the x or the y direction. The magnitude of this resistance in each direction scales with both the total velocity of the body, and the component velocity in the x or y direction. In this case, we still use Newtons second law relationship for each direction, but there are additional forces acting on the body that complicate matters. Fx (t) = max (t) Bv (t)vx (t) = max (t)
Fy (t) = may (t) g Bv (t)vy (t) = may (t) where B is a drag coecient that varies with the uid density, projectile geometry, 2 + v 2 is the overall velocity of the body in terms of and other factors, and v = vx y the x component and y component velocities. Notice that the forces acting on the body are functions of its velocity, and that its velocity is the integral of its acceleration. These equations can be solved analytically as ordinary dierential equations, but they can also be solved numerically with reasonable precision with the following algorithm: 1. Select initial values for the projectiles launch velocity and position. These values are for t = t0 = 0. 2. At the rst time step t = t1 = t, use the component and total velocities at t = t0 to calculate component accelerations at t = t1 . 3. To calculate velocity at t = t1 , assume a constant acceleration has occured since the previous time t = t0 , and that the component velocities at t = t1 dier from the component velocities at t = t0 by ax (t0 )t and ay (t0 )t, where ax (t0 ) and ay (t0 ) are the component velocities at time t = t0 . 4. To calculate position at t = t1 , assume a constant velocity has occured since the previous time t = t0 , and that both the x and y positions dier from the positions at t = t0 by vx (t0 )t and vy (t0 )t, respectively.
5. Repeat until t reaches a dened limit tmax , each time using the values for a and v at the previous time step to calculate the values for a and v at the current time step. Several values for B will be given later. For now, start working on a program to calculate positions, velocities, and accelerations of projectiles taking uid resistance into account.