EM375 MECHANICAL ENGINEERING EXPERIMENTATION PROJECTILE MOTION WITH AIR RESISTANCE

Similar documents
Project: OUTFIELD FENCES

FRICTION, WORK, AND THE INCLINED PLANE

Gravitational Potential Energy

Projectile motion simulator.

In order to describe motion you need to describe the following properties.

Projectile Motion 1:Horizontally Launched Projectiles

Uniformly Accelerated Motion

Printing Letters Correctly

Catapult Engineering Pilot Workshop. LA Tech STEP

1 of 7 9/5/2009 6:12 PM

Chapter 3 Falling Objects and Projectile Motion

Lecture 07: Work and Kinetic Energy. Physics 2210 Fall Semester 2014

Experiment 2 Free Fall and Projectile Motion

AP Physics C. Oscillations/SHM Review Packet

Chapter 6 Work and Energy

C B A T 3 T 2 T What is the magnitude of the force T 1? A) 37.5 N B) 75.0 N C) 113 N D) 157 N E) 192 N

3. KINEMATICS IN TWO DIMENSIONS; VECTORS.

Lab #4 - Linear Impulse and Momentum

FREE FALL. Introduction. Reference Young and Freedman, University Physics, 12 th Edition: Chapter 2, section 2.5

Physics Notes Class 11 CHAPTER 3 MOTION IN A STRAIGHT LINE

Conceptual Questions: Forces and Newton s Laws

EXPERIMENT 3 Analysis of a freely falling body Dependence of speed and position on time Objectives

Lecture L2 - Degrees of Freedom and Constraints, Rectilinear Motion

Behavioral Animation Simulation of Flocking Birds

CONTACT NUMBER: (786) PHYSICS I

Chapter 10: Linear Kinematics of Human Movement

Chapter 3.8 & 6 Solutions

Orbital Mechanics. Angular Momentum

Proof of the conservation of momentum and kinetic energy

XI / PHYSICS FLUIDS IN MOTION 11/PA

2After completing this chapter you should be able to

Speed A B C. Time. Chapter 3: Falling Objects and Projectile Motion

Newton s Second Law. ΣF = m a. (1) In this equation, ΣF is the sum of the forces acting on an object, m is the mass of

Determination of Acceleration due to Gravity

Millikan Oil Drop. Introduction

STATICS. Introduction VECTOR MECHANICS FOR ENGINEERS: Eighth Edition CHAPTER. Ferdinand P. Beer E. Russell Johnston, Jr.

Work Energy & Power. September 2000 Number Work If a force acts on a body and causes it to move, then the force is doing work.

STATIC AND KINETIC FRICTION

ENERGYand WORK (PART I and II) 9-MAC

v v ax v a x a v a v = = = Since F = ma, it follows that a = F/m. The mass of the arrow is unchanged, and ( )

Linearly Independent Sets and Linearly Dependent Sets

Energy transformations

Maximum Range Explained range Figure 1 Figure 1: Trajectory Plot for Angled-Launched Projectiles Table 1

Newton s Laws. Physics 1425 lecture 6. Michael Fowler, UVa.

WORK DONE BY A CONSTANT FORCE

Displacement (x) Velocity (v) Acceleration (a) x = f(t) differentiate v = dx Acceleration Velocity (v) Displacement x

WORKSHEET: KINETIC AND POTENTIAL ENERGY PROBLEMS

Parachute Jumping, Falling, and Landing David C. Arney, Barbra S. Melendez, Debra Schnelle 1

Speed, velocity and acceleration

INVESTIGATION OF FALLING BALL VISCOMETRY AND ITS ACCURACY GROUP R1 Evelyn Chou, Julia Glaser, Bella Goyal, Sherri Wykosky

Definition: A vector is a directed line segment that has and. Each vector has an initial point and a terminal point.

Lab 8: Ballistic Pendulum

Problem Set 5 Work and Kinetic Energy Solutions

Laboratory Report Scoring and Cover Sheet

Algebra I Module 1 Lessons 1 28

When the fluid velocity is zero, called the hydrostatic condition, the pressure variation is due only to the weight of the fluid.

Chapter 19 Magnetic Forces and Fields

Physics 590 Homework, Week 6 Week 6, Homework 1

Lab 1a Wind Tunnel Testing Principles & Lift and Drag Coefficients on an Airfoil

8. Potential Energy and Conservation of Energy Potential Energy: When an object has potential to have work done on it, it is said to have potential

PHY121 #8 Midterm I

WEIGHTLESS WONDER Reduced Gravity Flight

Physics 40 Lab 1: Tests of Newton s Second Law

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Experiment: Static and Kinetic Friction

Physics 111: Lecture 4: Chapter 4 - Forces and Newton s Laws of Motion. Physics is about forces and how the world around us reacts to these forces.

Force on Moving Charges in a Magnetic Field

Rotation: Moment of Inertia and Torque

Two-Body System: Two Hanging Masses

Problem Set #8 Solutions

Chapter 9. particle is increased.

ANALYTICAL ANALYSIS OF BLOOD SPATTER TRAJECTORY FOR CRIME SCENE INVESTIGATION

Physics Kinematics Model

Mathematical Modeling and Engineering Problem Solving

Physics 1A Lecture 10C

Chapter 28 Fluid Dynamics

AP Physics 1 Midterm Exam Review

MEASUREMENT OF VISCOSITY OF LIQUIDS BY THE STOKE S METHOD

CHAPTER 6 WORK AND ENERGY

Fluid Mechanics: Static s Kinematics Dynamics Fluid

Physics Lab Report Guidelines

Review D: Potential Energy and the Conservation of Mechanical Energy

5. Forces and Motion-I. Force is an interaction that causes the acceleration of a body. A vector quantity.

A Determination of g, the Acceleration Due to Gravity, from Newton's Laws of Motion

KE =? v o. Page 1 of 12

Solving Simultaneous Equations and Matrices

Tennessee State University

Web review - Ch 3 motion in two dimensions practice test

oil liquid water water liquid Answer, Key Homework 2 David McIntyre 1

Solving ODEs in Matlab. BP205 M.Tremont

EDUMECH Mechatronic Instructional Systems. Ball on Beam System

Ch 7 Kinetic Energy and Work. Question: 7 Problems: 3, 7, 11, 17, 23, 27, 35, 37, 41, 43

The Viscosity of Fluids

Review Assessment: Lec 02 Quiz

MATHEMATICS FOR ENGINEERING BASIC ALGEBRA

Name per due date mail box

Ground Rules. PC1221 Fundamentals of Physics I. Kinematics. Position. Lectures 3 and 4 Motion in One Dimension. Dr Tay Seng Chuan

An Introduction to Applied Mathematics: An Iterative Process

Free Fall: Observing and Analyzing the Free Fall Motion of a Bouncing Ping-Pong Ball and Calculating the Free Fall Acceleration (Teacher s Guide)

Transcription:

EM375 MECHANICAL ENGINEERING EXPERIMENTATION PROJECTILE MOTION WITH AIR RESISTANCE For projectile motion where air resistance cannot be ignored, there are two forces of importance: the projectile s weight mg which is constant and is always directed down, and the drag due to air resistance F D which is directed in the opposite direction to the instantaneous velocity. The magnitude of the drag force changes with speed. The instantaneous angle of flight β is the same as the instantaneous direction of the velocity vector. This angle is measured as positive when it is above the horizontal and negative when it is below. As the projectile flies through the air, β will start at the initial launch angle β 0. It will reduce to zero at the apogee, and then become negative as the projectile falls down. The force and kinematics diagrams are: Recalling that xx (read as x-dot) is shorthand for dddd and xx (x-double-dot) is shorthand for dd xx dddd ddtt, the two equations of motion governing the flight of the projectile are: x-direction: FF DD cccccc(ββ) = mmxx y-direction: mmmm FF DD ssssss(ββ) = mmyy The magnitude of the drag force depends upon a number of parameters: FF DD = CC DD AA ff ρρ aaaaaa vv Projectile 1 of 6

Where AA ff is the frontal (silhouette) area of the projectile, ρρ aaaaaa is the density of air, and CC DD is a dimensionless drag coefficient. The drag coefficient depends on a number of factors that will be addressed in your fluid dynamics course. For a ping pong ball travelling at the speeds achieved in this project a drag coefficient of 0.47 ± 0.03 at 95% confidence is appropriate. The two nonlinear nd order coupled differential equations of motion for the x- and y- directions can be solved numerically in Matlab using the Runge-Kutta ODE45 function. The function only permits a single integration, and not the double integration that is needed. Therefore the two nd order equations must be converted into a system of four first order equations. Once this is done the ODE45 routine can be used to solve for the x and y positions and the x and y velocities as functions of time. The equations of motion are developed below and the appropriate Matlab code shown. You will need to modify this code to match the requirements of your specific project, especially the initial conditions. The instantaneous velocity vv can be broken down into horizontal and vertical components xx and yy : vv = (xx + yy ) xx = vv cccccc(ββ) = vv xx yy = vv ssssss(ββ) = vv yy We now combine and rearrange these equations so that we get the instantaneous trigonometric functions as functions of the x and y speed components: cccccc(ββ) = vv xx vv = ssssss(ββ) = vv yy vv = xx xx + yy yy xx + yy Rearranging the second order equations of motion and substituting the above trigonometric formulae: For the x-direction: for the y-direction: xx = CC DDAA ff ρρ aaaaaa mm vv cccccc(ββ) = CC DDAA ff ρρ aaaaaa mm (xx + yy xx ) xx + yy = CC DDAA ff ρρ aaaaaa mm xx xx + yy Projectile of 6

yy = gg CC DDAA ff ρρ aaaaaa mm vv ssssss(ββ) = gg CC DDAA ff ρρ aaaaaa mm (xx + yy yy ) xx + yy = gg CC DDAA ff ρρ aaaaaa mm yy xx + yy In preparation for entering these equations into Matlab, the above can now be reduced to a system of 1 st order equations by making the following substitutions. The substitutions are chosen in this order because when Matlab s ODE45 solves simultaneous equations using the code presented later in this handout it expects 1 input arrays that are ordered as: (variable 1 ), (differential of variable 1 ), (variable ), (differential of variable ). And so we will have the order (x), (xx ), (y), (yy ). ODE45 output matrix, p, is in the same order as the input. Thus: pp 1 = xx pp = xx pp 3 = yy pp 4 = yy For the x-direction this results in: pp 1 = pp pp = xx = CC DDAA ff ρρ aaaaaa mm pp pp + pp 4 For the y-direction the result is: pp 3 = pp 4 pp 4 = yy = gg CC DDAA ff ρρ aaaaaa mm pp 4 pp + pp 4 For this exposition the origin of the coordinate system is taken at the unstretched point of the sling, just as the ball starts to come out of the pouch. The initial conditions at t = 0 for this coordinate system are: at tt = 0: xx 0 = 0; yy 0 = 0; xx 0 = VV 0 cccccc(ββ 0 ); yy 0 = VV 0 ssssss(ββ 0 ) 1 As with all things Matlab, there are several different ways of accomplishing the same thing. The method presented here is a) self-consistent; and b) works! Projectile 3 of 6

where VV 0 is the initial launch speed and ββ 0 is the launch angle. You will need to set a different origin for your project; perhaps pick ground level at an easily identifiable location on the launcher. This will change the x and y initial conditions xx 0 and yy 0. Now onto the Matlab code. We need two separate script files: a function to calculate the differentials, and a main script file that calls the Runge-Kutta routine and plots the final results. The function shown below, function secondode.m, includes the above equations for the four 1st order system of equations. The function receives the current time (variable t) and the values of the current x position, x velocity, y position, and y velocity (as an array in variable indata). The function returns the values of the four derivatives. function [ p ] = secondode( t, indata ) %% simultaneous second order differentials for projectile % motion with air resistance % output vector z has the four differential outputs % assumed units: metres, seconds, Newtons, kg, radians global C g % these are defined globally so they can be changed % outside the function - means this function doesn't need editing % for different projectiles p = zeros(4,1); % initialize space p(1) = indata(); p() = -C*sqrt(indata()^ + indata(4)^)* indata(); p(3) = indata(4); p(4) = -g -C*sqrt(indata()^ + indata(4)^)* indata(4); end Projectile 4 of 6

The script file Projectile.m calls on Matlab s ode45 function which uses a Runge-Kutta algorithm to calculate the results. The function ode45 calls on your user function secondode.m. %% Projectile.m % written by Colin Ratcliffe % assumed units: metres, seconds, Newtons, kg, radians clear;clc global C g g=9.81; % m/s^ V0=300; % m/s initial launch speed beta0=30*pi/180; % initial launch angle in degrees converted to radians m=6.58/1000; % mass of projectile, kg d=0.0355; % diameter of spherical projectile, meters Cd=0.5; % assumed rho=1.041; % density of air, kg/m^3 % How does this vary with ambient temperature and pressure? A=pi*d^/4; % silhouette area, m^ C=Cd*A*rho//m; % the drag force constant %% perform projectile calcs tmax=5; % do calculations for 5 seconds of flight time tspan = [0 tmax]; % initial conditions as [x0, vx0, y0, vy0] IC = [0; V0*cos(beta0); 0; V0*sin(beta0)]; [t, oput] = ode45(@secondode, tspan, IC); % Runge-Kutta to solve x= oput(:,1); % extract x-position from 1st column vx= oput(:,); % extract x-velocity from nd column y= oput(:,3); % extract y-position from 3rd column vy= oput(:,4); % extract y-velocity from 4th column figure(1);clf; plot(x,y); % plot to see the projectile s path For the above example (with 5 seconds of flight time) note that the projectile ends up at a lower height than the launch position (it has gone underground). Also note that this graph is awful. No units, captions, legends, etc. 30 5 0 15 10 5 0-5 -10 0 10 0 30 40 50 60 70 80 Projectile 5 of 6

You will need to modify the code to include your values of mass, diameter, etc. Also change initial conditions to match your origin. It is recommended that you set the height origin at floor level. That way the range of the projectile can be identified as where it goes subsurface and the calculated y-position transitions from positive to negative. You should also code Matlab to print out the achieved range. You may consider some linear interpolation in order to get an accurate value. PROJECTILE TEST DATA As with all good engineering simulations, you should check the output from your Matlab script against known test data. Before comparing the Matlab results with the results from the canon launcher lab, also consider a common sense situation as a quick way of checking that your code does not have any gross errors. Consider baseball. What is the weight and diameter of a baseball? What, approximately, is the speed of a ball when it leaves a hitter s bat and what angle to the horizontal does it typically leave the bat? Use classical mechanics to calculate the range assuming no air resistance. Confirm your Matlab code gets the same range by setting the drag coefficient to zero and modifying the variables in your Matlab script to match a baseball. Now put air resistance back into your Matlab script and determine how far the baseball goes this time. How does this compare with the distance for a home run? Does Matlab give you a sensible range? Projectile 6 of 6