Professional Documents
Culture Documents
Numerical Techniques
Numerical Techniques
Numerical
Techniques
App. A
Numerical Techniques
-+ 2-b
dx
2
- 2ax.t.b
ax:+bx+c
for b2 = 4oc
(A- 10)
(A- 12)
C
,-,.
See. A.2
1011
5. Next draw in the smooth cusve that best approximates the area under
the histogram. That is, attempt in each interval to balance areas such
as those labeled A and B, but when this approximation is not possibIe,
baIance out over several intervals (as for the areas labeled C and D).
From our definitions of Ax and Ay we know that
Y"-YI =
'
1
Ax,
(A- 13)
i=2
Appendix A, for
worked example
that is, so that the area under A y l h x is the same as &at under dyldx,
everywhm possible.
6. Read estimates of dyr'dr from this curve at the data points x, , x,, .. .
and complete the table.
Unkr
1012
Numerical Techniques
App. A
A.3.A
d
Links
See www.ucbac.uk/Mathematr'cs/geomath/EevcI2/deqpt/de8
htmI and CD-ROM
Appendix K.
2+ m y =,df)
II).
the solution is
dt
y=e
Exampb A-I
(A- 15)
+ K,e
(A- 16)
*+k$=k,e
d!
%'
dye)
py= klI:k2y=-e
fk2 -11b
kl e
d!
kl
k
k,
-kt!
k2 - 4
r=O
(kz-kl)r
l
- k*
+li;
-k21
+K,e
y=o
A.3.B
Sec. A.4
which are
M
, =A,
+B , e t f i . ~
(A- 38)
+ ~cosh,@x
(A- 19)
Equation (A-19) is the more useful form of the solution when it comes to evaluating the constants -4 and B because sinh(0) .= 0 and cosh (0) = 1 .O.
when h = X I
- Xo.
1014
Numerical Techniques
App. A
where
Methods to solve
in Chapters 2,4, 8,
and
-E
-
jbxtnnna
in Chapter 13
I
I
h&hYt
xo
xo
Xl
X,
X
X2
1%
where
x,-x,
h=-
Figure A-4
XI
= Xo + h
X2 = Xo -I-2h
(A-22)
Sec. A.5
Software Packages
where
5. For N
where h =
6. Wr N
x,-x,,
N
where
These formulas are useful in illustrating how the reaction engineering
integrals and coupled ODES (ordinary differential equation(s)) can be solved
and also when there is an ODE solver power failure or some other malfunction.
CACHE Corporation
P.O.Box 7939
Austin, Texas 78713-7379
Web site: w~w.pnlj~mathsofrware.comfogIer
MATLAB
The Math Works, Inc.
20 Nonh Main Street, Suite 250
Sherbom, Massachusetts 01770
FErvlLAB
COMSOL, Inc.
8 New England Executive Park. Suite 3 10
Burlington. Massachusetts 01803
Tel: 78 1-273-3322; Fax: 7 8 1-273-6603
Email: info@comsol.com
Web site: MWW cor~~snl.com