# Projectile Motion Laboratory

### Objective.

The objective of this laboratory is to predict the range of a projectile set in motion at an arbitrary angle.

### Theory.

#### a. General.

Neglecting air resistance, an object set in motion near the surface of the Earth over short ranges experiences no acceleration along the horizontal direction and constant acceleration due to gravity along the vertical direction. The range can be predicted if the initial position and initial velocity of the projectile are known.

#### b. Model.

The general expressions for the position of an object undergoing two-dimensional motion with constant acceleration are x = x0 + v0xt + (1/2)axt2 y = y0 + v0yt + (1/2)ayt2 where (x,y) is the position of the object at time t, (x0,y0) is the initial position of the object (at time t = 0), v0x and v0y are the x and y components of initial velocity of the object, and ax and ay are the x and y components of the constant acceleration of the object. For the case of a object set in motion near the surface of the Earth over short ranges and neglecting the effects of air resistance, the general expressions become x = x0 + v0xt y = y0 + v0yt - (1/2)gt2 where x is the position measured along an axis horizontal to the ground in the plane of the trajectory, y is the position measured along an vertical axis in the plane of the trajectory, and g is the local value of the acceleration due to gravity. The minus sign in the equation reflects the selection of the direction away from the center of the Earth as positive. The origin of the coordinate system is at the surface of the Earth. Since the position of the object along the vertical axis at the time the object strikes the ground is zero (y = 0), the y-equation above can be solved for the time of flight of the projectile. This time can then be substituted into the x-equation to find the range of the projectile (the displacement along the x-axis to the point where the object strikes the ground). The initial position of the projectile can be measured using a meter stick. The initial velocity will be determined by measuring the range when the projectile is given a purely horizontal initial velocity (vy0 = 0) by first solving for the time of flight in the y-equation and then substituting into the x-equation. If the projectile is then launched at some angle above the horizontal, the initial velocity of the projectile measured with the launcher horizontal can be used with the angle of inclination to predict the new range of the projectile using the same equations, but with v0x = v0 cosq v0y = v0 sinq where v0 is the initial speed measured with the launcher horizontal, and q is the angle of inclination.

#### c. Testing the model.

The predicted range will be compared to the actual range measured with a meter stick.

### Apparatus and experimental procedures.

#### a. Equipment.

1) Ballistic pendulum apparatus. 2) Wood block. 3) Meter stick. 4) Carbon paper.

#### b. Experimental setup. The experimental setup for the experiment is shown in Figure 1.

Figure 1. Experimental appartaus.

### Capabilities.

1) Ballistic pendulum apparatus. The ballistic pendulum apparatus includes a spring loaded gun that provides initial velocity to a metal ball projectile. 2) Wood block. The wood block is used to adjust the initial velocity's angle with respect to the horizontal. 3) Meter stick. The meter stick is used to measure initial positions of the projectile, the ranges of the projectile and the angle of the initial velocity. 4) Carbon paper. The carbon paper is used as the target for the projectile. When the projectile strikes the carbon paper, a mark will be left on a paper under the carbon, allowing measurement of the range to that mark.

### Requirements.

#### a. In the laboratory.

1) Your instructor will introduce you to the equipment to be used in the experiment. 2) Place the ballistic pendulum apparatus flat on a lab table so that the initial velocity of the ball will be in the horizontal direction only. 3) Establish a coordinate system and measure the initial position of the ball before it is set in motion. In a trial run, carefully note where the ball is released. Use the data tables provided in Annex A to record this and other data obtained in the experiment. 4) Using carbon paper to mark final position, perform five range trials with the initial velocity's direction parallel to the top of the lab table (make a trial shot to determine approximately where to place the carbon paper before the five trials). Find the average range of the projectile. 5) Place the wood block under the front edge of the ballistic pendulum. Determine the angle of the base of the ballistic pendulum with respect to the table top. This angle is also the angle of the initial velocity. 6) Measure the initial position of the ball before it is set in motion (it will not be the same as in the horizontally projected measurements). 7) Using carbon paper, perform five range trials with the ballistic pendulum at an angle (again, make a trial shot to determine where to place the carbon paper before the five trials).

#### b. After the laboratory.

The items listed below will be turned in at the beginning of the next laboratory period. A complete laboratory report is not required for this laboratory. Use the ExcelTM spreadsheet program to make your calculations.

### Para. 4. Data and Calculations.

1) Provide your original data tables. 2) In your spreadsheet, provide data from your measurements. 3) In your spreadsheet, provide the following calculations: a) The initial velocity of the projectile from the horizontally projected data. b) The angle of the initial velocity when the projectile is set in motion at an angle. c) The predicted range of the projectile when set in motion at the angle of your experiment. d) The percent discrepancy between your measured results and your predictions for the case when the projectile is set in motion at an angle.
Annex A Data Tables 1. Projectile with horizontal initial velocity. a. Initial position of bottom of projectile at release: x0 = ________________________ m y0 = ________________________ m Assuming y = 0 is at the top of the lab table. b. Range: trial range (m) 1 2 3 4 5 average 2. Projectile with initial velocity at an angle. a. Angle determination. 0 rise = ________0.1________________ m hypotenuse = ______0.2__________________ m b. Initial position of bottom of projectile at release: x0 = _________0_______________ m y0 = _________2.4_______________ m c. Range: trial range (m) 1 2 3 4 5 average
``````

In [5]:

import math
import matplotlib
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline

``````
``````

In [6]:

class ListTable(list):
""" Overridden list class which takes a 2-dimensional list of
the form [[1,2,3],[4,5,6]], and renders an HTML Table in
IPython Notebook. """

def _repr_html_(self):
html = ["<table>"]
for row in self:
html.append("<tr>")

for col in row:
html.append("<td>{0}</td>".format(col))

html.append("</tr>")
html.append("</table>")
return ''.join(html)
table = ListTable()
table.append(['trial', 'Range'])
table.append(['   ', '(m)'])
trial=[1,2,3,4,5]
x = [0.95,0.96,0.95,0.96,0.99]
y=0.0
for i in range(0,len(x)):
xx = x[i]
ttrial = trial[i]
table.append([ttrial,xx])
table

``````
``````

Out[6]:

trialRange   (m)10.9520.9630.9540.9650.99

``````
``````

In [7]:

x0 = 0
y0 = 0.09
g=9.8
x = [0.90,0.902,0.89,0.895,0.85]
y = 0
for i in range(0,len(x)):
y = y+x[i]
xaverage = y/len(x)
print 'xaverage =', xaverage, 'm'
t=((2*y0)/g)**0.5
print 't = ', t , 's'
v0=xaverage/t
print 'v0 = ', v0, 'm/s'

``````
``````

xaverage = 0.8874 m
t =  0.135526185436 s
v0 =  6.54781212314 m/s

``````
``````

In [8]:

rise = 0.035
hypotenuse = 0.4
theta = math.atan(rise/hypotenuse)
print 'theta=', theta

``````
``````

theta= 0.0872777129495

``````
``````

In [10]:

table = ListTable()
able = ListTable()
table.append(['trial', 'Range'])
table.append(['   ', '(m)'])
trial=[1,2,3,4,5]
x = [1.10,1.08,1.07,1.09,1.10]
for i in range(0,len(x)):
xx = x[i]
ttrial = trial[i]
table.append([ttrial, xx])
table

``````
``````

Out[10]:

trialRange   (m)11.121.0831.0741.0951.1

``````
``````

In [11]:

x0 = 0
y0 = 0.11
y = 0
x = [1.10,1.08,1.07,1.09,1.10]
for i in range(0,len(x)):
y = y+x[i]
xaverage = y/len(x)
print 'xaverage =', xaverage, 'm'
t=(v0*math.sin(theta)+(v0*math.sin(theta)+2*g*y0)**0.5)/g
print 't = ', t , 's'
r = v0*math.cos(theta)*t
print 'range = ', r, 's'
Disc= (xaverage-r)/r*100
print '%Disc = ', Disc

``````
``````

xaverage = 1.088 m
t =  0.226738881872 s
range =  1.47899262655 s
%Disc =  -26.4364148634

``````

### Para. 5. Results and Conclusions.

#### a. Results.

1) A statement providing the measured value of the magnitude of the initial velocity. 2) A statement of the measured and predicted ranges when the projectile is set in motion at an angle. 3) A statement providing the percent discrepancy in your results.
fgfgfhjhjklklkuiugyhhnmfgh
No!!!! Wrong!!! -10 points

#### b. Conclusions.

1) Assess the accuracy of your experiment. 2) Assess the precision of the experiment based on the variation in your measured ranges. 3) Describe sources of random and systematic error in the experiment.
``````

In [ ]:

``````