Phy+211+Lab+Graphical+Presentation+of+Data+With+Excel
Phy+211+Lab+Graphical+Presentation+of+Data+With+Excel
Lab Outcomes
1. Enter experimental data into an EXCEL spreadsheet.
2. Construct graphical representation of data using an EXCEL spreadsheet.
3. Use EXCEL to model data using different regression equations.
Materials
EXCEL 2013 software constant velocity car timer tape measure tape
More EXCEL Options: see “Graphing Data Using EXCEL 2013: Appendix IV”
NOTE: Instructions for entering and analyzing data are on the next page.
1
Physics 211 EXCEL Graphing Laboratory
-2-
EXCEL
EXCEL is a computer program called a spreadsheet. It is located in the Start Menu under Programs -
Microsoft Office - Microsoft Office EXCEL 2013. Each unique bit of data is held in a cell. Each cell
has a unique location and can be referenced to format the display of the numeric data, create graphs, and
perform mathematical operations on the data.
Cell groups can also be specified by placing a colon between the upper left and lower right corners of the
group. B1:B5 means cells 1 through 5 in column B are highlighted and selected.
Set up each cell so that it displays the desired number of decimal places.
• Left click / drag the mouse over the range of cells that holds the data to highlight those cells.
• Use the procedure for Number above to set the number of significant figures to two decimal places
(This is the default number.)
• To set more or fewer significant figures, click on the to decrease the number
And click on to increase the number.
2
Physics 211 EXCEL Graphing Laboratory
-3-
Highlight the Table I (Sheet 1) data you wish to plot from both columns
by holding down the left mouse key and dragging the cursor over the data.
• Click on INSERT from the tool bar.
• Within the Chart heading, click on the Scatter Icon
• A Scatter Plot is created with unconnected points for your data points in Sheet 1.
7. Format Gridlines
8. Data Labels: Add x- and y-data Values to Each Data Point on Graph
• Click on Data Labels, then click on the arrow to the right of Data Labels, and select “Data
Callout” to display x- and y- coordinates for each point.
• To eliminate any background color (or fill) for the data, click on the + icon, then click the
Data Labels arrow, and select the bucket symbol. Choose the “no fill” option.
3
Physics 211 EXCEL Graphing Laboratory
-4-
• Place cursor on the small boxes at top, bottom, or sides of large box with the graph.
• When either a double arrow appears (example: ), hold down the left mouse button and move the
arrow back and forth to resize the graph.
• Move the entire graph without changing its size by left click anywhere inside the graph, hold down
the left click mouse, and drag the graph to another location on the screen.
• Click on the Scatter Icon, and then click on the Scatter Graph Icon to delete the smoothed line fit
and return your graph to a scatter data plot.
Do not print a graph at this time but retain your Table I graph on Sheet 1 on the computer.
• Click on the + symbol at the bottom of the page next to “Sheet 1” words to create a Sheet 2.
• Enter the Table II data for the Non-Constant Velocity Data for a Toy Car Accelerating over a
Flat Surface into left and right columns on the EXCEL Sheet 2.
• Follow the Steps above to create a scatter plot for this data.
Do not print a graph at this time but retain your graph on Sheet 2 on the computer.
Regression lines can be used to graphically depict the relationship between the independent (x) and the
dependent (y) variable. That is, a line and equation are calculated that best fit the data.
• A straight line depicts a linear trend in the data (Example: y = 4x - 5).
• A curved line represents a trend described by a higher order equation.
• Examples: 2nd order polynomial, y = 2x2 - 4x + 3 and exponential, y = 4.00e-2.0x.
It is important to make an accurate decision, based on the visual depiction of the data,
concerning which type of line best represents the data.
4
Physics 211 EXCEL Graphing Laboratory
-5-
Correlation Coefficient, R2
The correlation coefficient is a measure of how well the regression equation describes the data.
• The closer R2 is to 1.00, the better the fit of the regression line and equation to the data.
• A perfect fit of 1.00 means that the regression line passes through all the data points.
16. To move the equation and R2 box to another location on the graph
• Click on the box containing the best-fit equation and R2 value, hold down the left mouse button, and
drag the box to the desired location on the graph.
• To change the font type and size: click in the box, highlight the text using the mouse, go to Home
in the tool bar, and select the desired font type and size.
17. Print one copy (This is Graph 1) for your group of the
Table I: Constant Velocity Data for a Flat Surface.
5
Physics 211 EXCEL Graphing Laboratory
-6-
Polynomial
(n = 2)
Polynomial
(n = 3)
Exponential
6
Physics 211 EXCEL Graphing Laboratory
-7-
• Delete the Linear Regression line, equation, and R2 value to your data.
• Create Polynomial (n = 2) Regression fit to the data. Display equation and R2 value.
• Print one copy of the graph for your group. (This is Graph 3)
• Delete the Polynomial Regression line, equation, and R2 value to your data.
• Create Exponential Regression fit to the data. Display equation and R2 value on the chart.
• Print one copy of the graph for your group. (This is Graph 4)
21. Examine the three graphs (Table II Non-Constant Velocity Data over a Flat Surface).
1. Pages 1, 6, and 7.
2. Only one set of FOUR graphs with the names of all group members written on each graph.
7
Appendix III
age, years
2
y: tree height, meters x: tree age, years R = 1.00 for perfect fit of data and equation
y: board feet obtained from a given tree, in 100s of feet x: tree age, in years
8
APPENDIX IV
GRAPHING DATA USING EXCEL 2013
Introduction
EXCEL is a computer program called a spreadsheet. It is located in the Start Menu under Programs. It
is useful for the visual display and management of data. Each unique bit of data is held in a cell. Each
cell has a unique location and can be referenced to format the display of the numeric data, create graphs,
and perform mathematical operations on the data.
Inputting Data
You can enter data by simply clicking on one of the cells in the spreadsheet and typing in the data values.
You usually enter data beginning with the upper left corner of the spreadsheet.
Each cell is located in a rectilinear grid of cells and is referenced by a column and row designation.
Columns are designated by letters, while rows are designated by numbers.
Groups of cells can also be specified by placing a colon between the upper left and lower right corners of
the group of cells. Thus, B1:B5 means that cells 1 through 5 in column B are highlighted and selected.
Set up each cell so that it displays the desired number of decimal places.
• Left click / drag the mouse over the range of cells that holds the data to highlight those cells.
• Use the procedure for Number above to set the number of significant figures
(Note: 2 significant figures is the default number.)
• To set more or fewer significant figures, click on the to decrease the number
And click on to increase the number.
9
APPENDIX IV
GRAPHING DATA USING EXCEL
-2-
• A Scatter Plot is created with unconnected points for your data points in Sheet 1.
Format Gridlines
• Under Chart Tools, Click on Design.
• Click on the Gridlines picture labelled Style 4.
This displays the chart with horizontal and vertical gridlines.
Data Labels: Add x- and y-data Values to Each Data Point on Graph
• Click on Data Labels, then click on the arrow to the right of Data Labels, and select “Data
Callout” to display x- and y- coordinates for each point.
• To eliminate any background color (or fill) for the data, click on the + icon, then click the
Data Labels arrow, and select the bucket symbol. Choose the “no fill” option.
10
APPENDIX IV
GRAPHING DATA USING EXCEL
-3-
• Place the cursor on the small boxes at top, bottom, or sides of large box that encloses the graph.
• When a double arrow appears (example: ), hold down the left mouse button and move the arrow
back and forth to resize the graph.
• Move the entire graph without changing its size: left click anywhere inside the graph, (+ symbol
appears), hold down the left click mouse, and drag the graph to another location.
• Click on the Scatter Icon, and then click on the Scatter Graph Icon to delete the smoothed line fit to
return your graph to a scatter data plot.
• Click on the + symbol at the bottom of the page next to “Sheet 1” words to create a Sheet 2.
• Enter the data into left and right columns on the EXCEL Sheet 2.
• Follow the Steps above to create a scatter plot for this data.
Regression lines can be used to graphically depict the relationship between the independent (x) and the
dependent (y) variable. That is, a line and equation are calculated that best fit the data.
• A straight line depicts a linear trend in the data (Example: y = 4x - 5).
• A curved line represents a trend described by a higher order equation.
• Examples: 2nd order polynomial equation, y = 2x2 - 4x + 3 and exponential equation, y = 4.00e-2.0x.
It is important to make an accurate decision, based on the visual depiction of the data,
concerning which type of line best represents the data.
11
APPENDIX IV
GRAPHING DATA USING EXCEL
-4-
Correlation Coefficient, R2
The correlation coefficient is a measure of how well the regression line and equation describe the data.
• The closer R2 is to 1.00, the better the fit of the regression line and equation to the data.
• A perfect fit of 1.00 means that the regression line passes through all the data points.
To Print a Graph
• Left click on the graph to choose it for printing.
• Left click on the Microsoft Office 2013 Icon in the far upper left corner of the screen.
• Left click on the Print Icon and then select Print from the pop-up menu
• Choose a Print Range from 1 to 1 and select 1 copy.
12
APPENDIX IV
GRAPHING DATA USING EXCEL
-5-
13
APPENDIX IV
GRAPHING DATA USING EXCEL
-6-
When Excel plots the data, the scale of the velocity axis is such that
the data appears to be widely varying as shown in Graph 1.
When the vertical scale of the graph is adjusted by expanding the scale of the vertical (velocity) axis
(Graph 2), the linear nature of the data is more evident.
Note: Both graphs plot the same data! The only difference is their scale.
14