CE 335
Programming Assignment 3
Interpolation and regression: Approximating temperature dependence
In many engineering applications, interpolation and regression are used to derive approximate
expressions for functions that are difficult or timeconsuming to calculate very precisely. This
assignment is aimed at taking you through this process.
For many reactions, the reaction rate
f
has a strong dependence on temperature, following the Arrhenius
relationship
(1)
f
(T) = A
0
e
E/RT
where A
0
is a characteristic rate for the reaction in question, E is the activation energy (which also
depends on the reaction), R is the universal gas constant, and T is the (absolute) temperature. If the
temperature is changing with time, it may be necessary to evaluate the integral of
f
(T),
(2)
g
T
1
,T
2
=
∫
T
1
T
2
A
0
exp
−
E
/
RT
dT
,
in order to calculate how far the reaction will proceed over a given period. However, the integral (2)
cannot be solved analytically.
(a) With the substitution
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 '11
 Lybas
 Numerical Analysis, Regression Analysis, 2 g, residual size

Click to edit the document details