Excell worksheet Fall 2002
Marist College
Excel is a powerful computer program that can graph, do statistical analysis and automate simple calculations. You will use excel often when treating data in General Chemistry I and II labs. This worksheet is intended to introduce you to the basics you will need to know for Chemistry laboratories. Excel can do much much more, but we will not get into that here.
The best way to show you excel is by going through an example, so click on the "start" menu, go to "programs" and "Microsoft Excel". Follow along with this example and make your own excel worksheet.
Suppose you have a block of ice and you want to know the mass of the ice as a function of time. The ice melts so the mass decreases with time. You measure the mass of the block of ice every 2 minutes for 30 minutes and get data like this (I have no idea if this is reasonable, I’m making up this data because the important thing here is how to use excel not the actual values):
|
Time (minutes) |
Mass (grams) |
|
0.0 |
10.0 |
|
2.0 |
9.0 |
|
4.0 |
8.2 |
|
6.0 |
7.5 |
|
8.0 |
6.7 |
|
10.0 |
6.5 |
|
12.0 |
5.6 |
|
14.0 |
5.25 |
|
16.0 |
5.00 |
|
18.0 |
4.80 |
|
20.0 |
3.00 |
|
22.0 |
2.50 |
|
24.0 |
1.75 |
|
26.0 |
1.25 |
|
28.0 |
0.85 |
|
30.0 |
0.0 |
Input these numbers into your excel spreadsheet. Excel is divided into cells. Each cell is designated by the column (A, B, C….) and row (1, 2, 3,…). Put the time values from 0 to 30 in a single column and the corresponding Mass values in the next column over. In other words, if the time "0.0" is in cell A1, then the mass "10.0" is in cell B1. The time "2.0" goes in A2 and mass "9.0" goes in B2 etc.
In order to determine the rate at which the ice is melting, we need to plot the data.
click on the chart wizard over on the right side of the toolbar at the top of the page. The icon should look a little like this except it has colors and looks much nicer.
Now we have a graph that shows the mass of the ice block decreasing over time. But we need more information.
What you have just done is to draw the best fit line through your data points. This line DOES NOT go through all points. It is the straight line which comes closest to ALL points. You have also found the mathematical equation of this best fit line. This equation is of the form y=mx+b where x and y are your axes, m is the slope of the line and b is the y intercept. For example, you should have gotten the equation y = -0.3189x + 9.6522. –0.3189 is the slope of the line, m. m=(change in y value)/(change in x value). In other words, the mass of the ice block changes by –0.3189 gram (the mass decreases) for every minute. The y intercept is 9.652. This is the point where your line crosses the y axis. In other words, the point where x=0.0. The R2 value gives you an idea of how close your points are to the best fit line. A value of 1.00 means that ALL point are EXACTLY on the line.
Another neat thing that excel can do is automate repetitive calculations. For example, suppose that you want to know the mass of the ice block in ounces rather than grams. You know that 1 g.= 0.0353 oz. (look it up in your book). Rather than multiply each mass in your table by 0.0353, let excel do it for you.
Now you try. Suppose that you use a spectrometer to measure the transmittance of solutions of varying concentrations.
|
Concentration (M) |
T |
|
0.99 |
.795 |
|
2.05 |
.603 |
|
2.85 |
.537 |
|
4.35 |
.355 |
|
5.02 |
.324 |
Transmittance does not do us much good, so we first need to convert to absorbance, A, by the formula A=-log(T) (don’t worry about what the math means for now). Use Excel to convert transmittance to absorbance and then plot the absorbance (y-axis) vs. concentration (x-axis). Find the equation of this line and report the slope, y intercept and R2 value. You have just made a calibration curve. A handy skill for later in the course.