Insert your introduction here. Write a short paragraph about the purpose of the lab, the technique(s) you're using, the samples you're analyzing, and any additional background information you can think of that will help frame the purpose of the lab. At minimum you should include and overview (not detail) of:
Note: The answers to these questions should be worked into a written narrative with additional detail for full credit. You should not just provide a list of answers to these questions!
Insert your materials and methods section here. Provide detailed information about all samples and standards used (when applicable) and detailed information about the technique and instrument being used. At minimum, you should include detailed information about:
Note: The answers to these questions should be worked into a written narrative with additional detail for full credit. You should not just provide a list of answers to these questions!
Note 2: Some of this may be prepared ahead of time, but some of it MUST BE COMPLETED IN LAB. For example, if you are weighing quantities of a substance or dispensing exact volumes they need to go in this notebook. This notebook should be an EXACT record of what you did in lab, just like a paper notebook!
The column types are below. Choose the correct one for the instrument you used.
Table 1: | GC Parameters |
---|---|
Make and Model | Gow-Mac XXXXX |
Column Type | XXXXX |
Injector Temp (deg. C) | XXXXX |
Column Temp (deg. C) | XXXXX |
Detector Temp (deg. C) | XXXXX |
Detector Attenuation | 1 |
Detector | XXXXX |
Carrier Gas | Nitrogen |
Carrier Flow Rate (ml/min) | 50 ml/min |
Data Acquisition (DAQ) | Vernier Instrumentation Amplifier, $\pm$20 mV range |
Software | Vernier Logger Lite |
This first section is used to define all functions that will be needed for data processing. These functions were copy and pasted from the Chem 370 Lab Manual.
For this analysis, the only function needed is peakArea()
used to calculate the area under a curve.
In [16]:
##### peakArea #################################################################################
## returns area under curve (integrates peak) for 2-column matrix X from x1 to x2
## where X(:, 1) is x data and X(:, 2) is y data,
## x1 is the lower limit, and x2 is the upper limit of integration.
## Also plots result for inspection if p = true.
## Usage:
## peakArea([chromatogram(:, "TIME COLUMN"), chromatogram(:, "Signal Column")], 1.7, 2.05)
##
## (c) 2020 Al Fischer for Chem 370 Lab CC-BY-SA
#####################################################################################################
function a = peakArea(C, x1, x2, p = true)
x = C((C(:,1) > x1 & C(:,1) < x2), 1);
y = C((C(:,1) > x1 & C(:,1) < x2), 2);
a = trapz(x, y);
if p == true
plot(C(:, 1), C(:, 2));
hold on
area(x,y);
xlabel("Time");
ylabel("Signal (arbitrary units)")
hold off
disp(["Peak Area = ", num2str(a)])
end
end
In [6]:
## import the data
In [4]:
## correct baseline offset
In [5]:
## calculate the peak area for first peak
In [3]:
## calculate the peak area for second peak
In [4]:
## Calculate Percent Composition
Add discussion of results here if necessary.
Provide the definition of signal-to-noise ratio, i.e. the formula you are using to calculate it.
In [7]:
##### Determine H, the peak heights, and h, the noise
In [3]:
##### Calculate S/N for each peak
Add discussion of results here if necessary.