<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>I have attached a <i>Mathematica</i> Notebook which essentially
      accomplishes the same thing we did in class today.  It requires
      some sophisticated knowledge of how Mathematica stores data
      objects, but now that I've done that for you it should be pretty
      easy to get <i>Mathematica </i>to fit your data.</p>
    <p>There are a couple of things to note.</p>
    <p>1.  In the first line I have it pointing to a file on my
      computer.  I had to specify the complete path.  You have to modify
      this to point to where your data is located.</p>
    <p><br>
    </p>
    <p>2. The FindFit function gives you the option to specify the
      starting quess for each of the parameters (a1, x1, etc).  You may
      have to change these values to get FindFit to locate your peaks
      properly.</p>
    <p><br>
      3. I have to create the fitted function to a list of points so I
      could display it alongside the raw data.   <br>
    </p>
    <p><br>
    </p>
    <p>Please let me know if you have any questions.<br>
    </p>
    <p><br>
    </p>
    <br>
    <pre class="moz-signature" cols="72">-- 
Andrew J. Pounds, Ph.D.  (<a class="moz-txt-link-abbreviated" href="mailto:pounds_aj@mercer.edu">pounds_aj@mercer.edu</a>)
Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627
<a class="moz-txt-link-freetext" href="http://faculty.mercer.edu/pounds_aj">http://faculty.mercer.edu/pounds_aj</a>
</pre>
  </body>
</html>