Realistic projectile motion. Newton’s law E total energy of the moving object, P the power...

15
Chapter 2 Realistic projectile motion

Transcript of Realistic projectile motion. Newton’s law E total energy of the moving object, P the power...

Page 1: Realistic projectile motion. Newton’s law E total energy of the moving object, P the power supplied into the system.

Chapter 2

Realistic projectile motion

Page 2: Realistic projectile motion. Newton’s law E total energy of the moving object, P the power supplied into the system.

2.1 Frictionless motion with Newton’s law

Newton’s law

E total energy of the moving object, P the power supplied into the system.

Page 3: Realistic projectile motion. Newton’s law E total energy of the moving object, P the power supplied into the system.

+ O(t2)

Page 4: Realistic projectile motion. Newton’s law E total energy of the moving object, P the power supplied into the system.

PseudocodeInitialisation: Set values for P, mass m, and time step

t, and total number of time steps, N, initial velocity v0.

Do the actual calculation vi+1= vi + (P/mvi)tti+1= ti + tRepeat for N time steps.

Output the resultsample code 2.1.1, 2.1.2

Page 5: Realistic projectile motion. Newton’s law E total energy of the moving object, P the power supplied into the system.

Adding friction to the Equation of MotionFrictionless motion is unrealistic as it predicts

velocity shoots to infinity with time.Add in drag force, innocently modeled as

2 C ~ 1, depend on aerodynamics, measured experimentally

B2 CA/2

Page 6: Realistic projectile motion. Newton’s law E total energy of the moving object, P the power supplied into the system.

The effect of Fdrag: P P – Fdrag v

drag1

ii i

i

P F vv v t

mv

dragdE

P F vdt

2

2

1

2

2

ii

ii i i

i i

C AvP v

C AvPv v t v t t

mmv mv

sample code 2.1.3

Page 7: Realistic projectile motion. Newton’s law E total energy of the moving object, P the power supplied into the system.

2.2 Projectile motion: The trajectory of a cannon shell

x

y

0

g

Wish to know the position (x,y) and velocity (vx,vy) of the projectile at time t, given initial conditions.

Two second order differential equations.

Page 8: Realistic projectile motion. Newton’s law E total energy of the moving object, P the power supplied into the system.

2.2 Projectile motion: The trajectory of a cannon shell

Four first order differential equations.

Euler’s method

Eq. 2.16

Eq. 2.15

Page 9: Realistic projectile motion. Newton’s law E total energy of the moving object, P the power supplied into the system.

2.2 Projectile motion: The trajectory of a cannon shell

Drag force comes in via

Page 10: Realistic projectile motion. Newton’s law E total energy of the moving object, P the power supplied into the system.

vi = (vx,i2+vy,i

2)1/2

i

i

sample code 2.1.4, 2.1.5

Trajectory of a cannon shell with drag force

Page 11: Realistic projectile motion. Newton’s law E total energy of the moving object, P the power supplied into the system.

Air density correctionDrag force on a projectile depends on air’s density, which in

turn depends on the altitude.Two types of models for air’s density dependence on

altitude: Isothermal approximation - simple, assume constant

temperature throughout, corresponds to zero heat conduction in the air.

00 1

T

ay K/m105.6 3a

0

2.5 for air;

sea level temperature (in K)T

40 / 1.0 10 my kT mg

•Adiabatic approximation - more realistic, assume poor but non-zero thermal conductivity of air.

Page 12: Realistic projectile motion. Newton’s law E total energy of the moving object, P the power supplied into the system.

Correction to the drag forceThe drag force w/o correction

corresponds to the drag force at sea-level It has to be replaced by

0drag

*drag

FF

* * *drag, drag drag drag 2

0 0

*drag, 2

0

cos x xx x

y y

v vF F F F B vv

v v

F B vv

Page 13: Realistic projectile motion. Newton’s law E total energy of the moving object, P the power supplied into the system.

Isothermal approximation:

0 0

1 ,ay

T

* *drag, 2 2 drag, 2

0 0 0

1 ; 1x x x y yay ay

F B vv B vv F B vvT T

Adiabatic approximation:

0 0

expy

y

* *drag, 2 2 drag, 2

0 0 0

exp ; expx x x y yy y

F B vv B vv F B vvy y

K/m105.6 3a

0

2.5 for air;

sea level temperature (in K)T

40 / 1.0 10 my kT mg

Page 14: Realistic projectile motion. Newton’s law E total energy of the moving object, P the power supplied into the system.

vi = (vx,i2+vy,i

2)1/2

i

i

Trajectory of a cannon shell with drag force, corrected for altitude dependence of air density

0

0

Page 15: Realistic projectile motion. Newton’s law E total energy of the moving object, P the power supplied into the system.

Curves with thermal and adiabatic correctionModify the existing code to produce the curves as in

Figure 2.5, page 30, Giodano 2nd edition.

sample code 2.1.6, 2.17