Many labs in Physics require the working knowledge of Excel. This lab will provide the basic tutorial for using Microsoft excel for data analysis in a very organized way. It includes writing data in rows and columns, writing formulas, manipulating, analyzing and graphing data using Excel tools. We will learn how to use most of the tools of Microsoft Excel to analyze data. After completing this lab, you should be able to deal with all forms of data in your future labs effectively. It is important for you to understand completely the use of each tool extensively.
Procedure:
In order to understand use of Excel, you will be given an experiment data. You do not have to worry about experiment details. You will only use this data to learn how to enter data, calculating formulas and graphing different given quantities.
 Click on Excel icon on Desktop. It will open a new window in Excel. The file tab on the top includes all the options of getting new workbook, opening an existing workbook and saving your work with current file name or new file name. It is good idea to hit save button frequently during your work so you do not lose your data accidentally. The save as and print options open a popup window with further information input.
 Entering data: The Home tab shows your current workbook. In the first cell, A1, place the mouse cursor and click so you can write in this cell. Write “Atwood machine experiment data analysis”. This will be title of your data table. Now you are ready to enter data. Data is given as follow.
Distance covered ,h (cm)  time taken, t (sec)  m1(grams)  m2(grams) 
130  2.4  105  95 
130  1.61  110  90 
130  1.37  115  85 
130  1.12  120  80 
130  0.98  125  75 
130  0.91  130  70 
130  0.83  135  65 
 The data above is taken from Atwood machine experiment. Atwood machine consists of two mass attached at the end of a light string. The mass of string is neglected here. The string passes over a frictionless pulley which can rotate about its axis. When both masses are equal, string does not move. According to Newton’s 2nd law, If F = 0, acceleration is zero. The equation is given by the relation
(1) F = ma
Using the total force and tension in the string, the acceleration produced in the string is given as
(2)
This equation gives the value of theoretical acceleration. The experimental acceleration can be measure by using kinematics equation for dropped mass at a given height.
The distance covered by mass, time taken and mass m_{1} and m_{2} are provided in the data.
(3)
 Also add labels to the columns by clicking on A2, B2, C2, D2. Add more labels for h (m), m_{1}(kg), m_{2}(kg), m_{1} – m_{2}, m_{1} + m_{2}, experimental acceleration 𝑎(exp), theoretical acceleration 𝑎 (theo) and experimental error.
 In cell A3, enter 130 cm for distance. Since you want same number for more cells in the column, bring the mouse to right lower corner of cell A3 until it changes into “+” sign and then drag it down to the cell A9. This action will copy same number to all cells below A3.
 Now in B3, enter “time” values. You will have to enter all values manually by clicking each cell.
 The mass m1 changes systematically with the increment of 5.0 kg. Enter first two values of m1 in C3 and C4. Now using your mouse, left click on C3 and drag it down to C4 by highlighting both cells together. You should see a “+” sign in the lower right corner of C4 which can be dragged down to enter remaining m1 values through C9.
 Repeat previous step to enter values for m2 starting from D3 to D9.
 To save your worksheet, click on File tab in the upper left corner and choose Save as You can save your file by providing name and folder name where you want to store it.
Writing formulas in cells:
 Now, you need to change distance given in centimeters into meters in column E3. The formula can be written in the cell by enter “ = ” sign first. After you enter “ = “ sign in E3, write the formula as “ = A3/ 100”. Drag the formula down to cell A9. You do not need to enter formula in each cell below.
 Repeat the previous step for F3 and G3 to convert grams into kilograms.
 Now, calculate a(exp) by entering formula in J3. Type ‘ = ’ in J3. Enter formula by typing as “2* E3/(B3^2)”. This will generate results from the formula given by Eq. (3). By dragging ‘+’ down to J9 will copy the same formula to all cells selected.
 Enter Eq. (2) in K3 in order to calculate a _{(theo)}.
 Similarly percentage error formula can be added to L3. You can enter “=ABS(K3J3)/K3*100”.This will complete all the data calculations.
Graphing:
In the Physics laboratory experiments, graph is required in order to explain the relationship between different physical quantities. This section will tell you how to plot different quantities using Excel plot function.
Click on insert on the top menu. From Charts submenu, select Scatter. In the Scatter popup menu, choose the icon with marked scatter with no lines. This will generate a graph without any labels and data. You can add data by going through following steps.
 In the Data submenu of charts tool design, click on Select Data icon, Click on Add. Enter Series name “Newton’s Second law and Atwood machine”.
 Under Series X values, click on the red arrow on the right side of the box and open Edit Series. Bring your mouse arrow to cell H3 and holding and dragging mouse to H9 will select the range for xseries.
 Repeat step 2 to edit Series Y values for a_{(exp)} from J3 through J9. Hit OK button.
 You should now see Series 1 in Select data source window. Click on Series 1 and OK.
 The graph should now show both “a_{(exp)}” along yaxis and “m1m2” along xaxis.
 Clicking on one data point in chart will highlight all data points. Right click and in the popup window, choose Add trend line. A new window will pop up with several Trendline options. You should choose linear since the data points seem to lie on a straight line. Also check the box for “Display equation on chart” and “Display Rsquared value on chart”. From Trendline window, you can also choose Line color, line style and other options. Hit close button.
 This should produce a bestfit line through the middle of your data points. You should also see the linear equation with slope m and yintercept c. Rsquared value close to “1” shows a good fit of data.
Additional Practice:
A projectile is fired from ballistic pendulum six times. Distance covered by projectile horizontally and vertically is given in the data table below.
Vertical distance, y, cm  Horizontal distance, x, cm 
100  150 
100  155 
100  179 
100  175 
100  139 
100  180 
If fired horizontally:

If fired at an angle:

Horizontal motion:
a_{x}= 0 v_{x} = v_{0} x = v_{0}t Vertical motion: a_{y }= g v_{y} = 0 – gt y = 1/2 gt^{2}

Horizontal motion:
a_{x}= 0 v_{x} = v_{0 }cos θ x = v_{0 }cos θ t
Vertical motion: a_{y }= g v_{y} = v_{0 }sin θ – gt y = v_{0 }sin θ t1/2 gt^{2}

Procedure:
Open a new Spreadsheet in Excel and calculate the following quantities using the data and equations above.
X (m)  Y (m)  t (sec)  V_{x}
(m/s) 
v_{0=} mean v_{x}
(m/s) 
*Standard deviation,S_{v}  V_{0} + S_{v}  V_{0} – S_{v} 
V_{x} and standard deviation should general only one number for all values of V_{0} in data. If the projectile is fired at same velocity (calculated in previous step) at an angle of 30^{0}, what will be the range of this projectile? You will need to solve quadratic equation to solve for time in 3^{rd} kinematic equation given above. Once you have time, you can obtain x for V_{0} + S_{v }and V_{0} – S_{v}.
*A way that the deviations can give information concerning the grouping of the values about the mean is by the squares of the deviations.