Sie sind auf Seite 1von 1

CPB20203 NUMERICAL METHODS IN CHEMICAL ENGINEERING

Assignment 1 (20 marks = 5%)

1) Determine the roots of f ( x )=3 x3 +19 x 220 x14 graphically. Use MATLAB to
generate the graph in the interval [1, 6] with step size 0.1.
In addition, determine the first root of the function with bisection method. Use initial
guess of x l=1 and x u=0 and a stopping criterion of 1%.
Compute the absolute relative approximate error.
2) Determine the highest real root of f ( x )=0.95 x 35.9 x 2+10.9 x6 :
a) Graphically
b) Using the Newton-Raphson method (three iterations,
c) Using the secant method (three iterations,

x i=3.5 .

x i1 =2.5x i=3.5 .

d) Determine all the roots with MATLAB.


3) In a chemical engineering process, water vapor ( H 2 O ) is heated to sufficiently
high temperatures that a significant portion of the water dissociates, or splits apart, to
form oxygen ( O2 ) and hydrogen ( H 2 ) :
1
H 2 O H 2 + O2
2
If it is assumed that this is the only reaction involved, the mole fraction
H 2 O that dissociates can be represented by
K=

of

2 pt
x
(1)
1x 2+ x

where K is the reactions equilibrium constant and


the mixture.
If

pt =3.5 atm and

pt

is the total pressure of

K=0.04,

a) use MATLAB to plot the graph in Eq. (1)


b) determine the value of x that satisfies Eq. (1).

Mohd Nasir Mahmud/UNIKL MICET

Page 1 of 1

Monday, September 23, 2013