Instructions for using Microsoft Excel to Graph Chemical DataTo learn how to get the computer
to plot the graph, then test the linearity of the line and obtain the slope
and intercept values, we will use data that we know the answers for. For example if we use the equation
y = 2 x then we know it's a straight line with slope equal to 2 and intercept
equal to 0. In this case our data can be as follows: X Y Open MicroSoft Excel and enter
your x and
y
values in two columns. Note, clicking on the link should open Microsoft Excel on your computer !!! Click on the Chart Wizard icon on the tool bar at the top of the table. a box will open entitled Chartwizard Step 1 of 4 Chart type in chart type select XY scatter in chart sub type select the middle left graph, that is the one with curves and data points click Next a box will open entitled Chartwizard Step 2 of 4 Chart source data hit backspace on your keyboard to remove the entry in the data range entry bar, it will go blank drag over the numbers in the x and y columns, BUT NOT the x and y characters. click next a box will open entitled Chartwizard Step 3 of 4 Chart options enter y=2x for the Title x for x and y for y click Gridline tab at top of box remove the entry on major grid lines leaving all blank, this removes the lines click Next a box will open entitled Chartwizard Step 4 of 4 Chart location leave entry in " As object in", this will plot the graph on your data sheet Click Finish The graph will appear in the spread sheet, click Excelteach2 to see what you should see on your own spreadsheet Excel calculation of correlation coefficient R , slope and intercept. Open " tools" pulldown menu You should see Data Analysis.... Open this If Data Analysis does not appear it can be loaded in to menu in the following manner Open the Help tab at top of excel sheet When you open data Analysis a new box will open and provide a list of Analysis tools A box labeled Regression will appear Then click OK The first heading will be Regression Statistics Note for our straight line Y = 2X R should equal 1, a perfect straight line and this is what we get!!!! There are many other data in the table but he ones we want are the slope and Intercept with Note for our straight line Y = 2X You may copy the relevant data and paste it on your spreadsheet Click
Excelteach4
to see what it should look like |