This preview shows pages 1–2. Sign up to view the full content.
University of California, Davis
ECM6: Homework # 4
Guidelines
This homework assignment is due at the beginning of class Monday, April 30. No late homework will be
accepted. Your homework should be presented for grading in the form of a
typed
Mathematica
Notebook . Do not
submit an electronic copy unless requested. Download the template for this notebook from the web site.
Your homework should show the
Mathematica
code that you used to obtain the solutions. Make use of the note
book type setting capabilities to layout your homework clearly. Comment freely on the approach that you used to
get the given solution. Please note if the graders need verification that your code produced the output shown in
your homework, they will request an electronic copy be sent to them by email. If you cannot produce an elec
tronic copy your score for that homework will be ZERO. You will have 24 hours to in which to send the notebook
via email. If the email notebook is not an exact replica of what you turned in for grading you will receive a ZERO
for that homework.
Thus it is important that you always retain a electronic copy of the homework you turn in for grading.
Problem 1
The heat capacity of propane gas at select temperatures is given in the file Problem1Data.xls. The heat capacity of
a gas can be represented by the following polynomial
(1)
C
P
=
a
0
+
a
1
T
+
a
2
T
2
+
a
3
T
3
+
…
Use linear regression to determine the polynomial coefficients and variance for polynomials of degree 2, 3, 4, 5.
Prepare your results in a table that has the following form:
Degree
2
3
4
5
a
0
val0
val0
val0
val0
a
1
val1
val1
val1
val1
a
2
val 2
val2
val2
val2
a
3
val3
val3
val3
a
4
val4
val4
a
5
val5
variance
sig1
sig2
sig3
sig4
Note: you must write your own
Mathematica
code; you cannot use Fit or FitRegress to do your linear regression.
The estimate of the variance is given by
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
This is the end of the preview. Sign up
to
access the rest of the document.
 Spring '07
 Higgins

Click to edit the document details