Professional Documents
Culture Documents
Evaluate the CSTR reactor design algorithm by substituting the value given in the question.
vo X
V=
k C Ao ( 1− X )2
dm3
v o=10
min
dm3
k =0.1
mol .min
V =600 dm3
( 10 ) ( X )
600=
( 0.1 ) ( 4 ) (1− X 2)
240(1−X 2 )=10 X
240(1−2 X + X 2 )=10 X
I. Graphical method are the simplest method to estimate the root of equation. A
range value of X are evaluated to get values of function.
X f(X)
-1.0 490.0
-0.8 478.4
-0.7 465.4
-0.6 447.6
-0.5 425.0
-0.4 397.6
-0.3 365.4
-0.2 328.4
-0.1 286.6
0.0 240.0
0.1 193.4
0.2 151.6
0.3 114.6
0.4 82.4
0.5 55.0
0.6 32.4
0.7 14.6
0.8 1.6.0
0.9 -6.6
1.0 -10.0
II. The value of X and f(X) are ploted and the intercept at x-axis are observed to
get the rough approximation of the root.
The graph of X vs f(X)
600
400
300
f(X)
200
100
0
-1.5 -1 -0.5 0 0.5 1 1.5
-100
conversion, X
x-intercept = 0.8300
The estimated value of the root, the conversion factor, X= 0.8300
b) False position method with initial guesses of Xl =0.6 and Xu =0.9
First iteration
i. The xl and xu for the root are determined from the question.
ii. Estimate the value of root from the equation of xr and evaluate f(xr)
f ( x r )=−3.034 2
f ( x l ) . f ( x r ) =−98.3081<0
f ( x l ) . f ( x r ) < 0 ,thus the roor lies in the lower interval, then x u=x r
iv. Calculate the absolute relative approximate error for each iteration.
ε a=|0.8492−0.6
0.8492 |
× 100 %
¿ 29.3453 %
Second iteration
ii. Estimate the value of root from the equation of xr and evaluate f(xr)
x r=0.8279
f ( x r )=−1.1706
f ( x l ) . f ( x r ) =−37.9274< 0
f ( x l ) . f ( x r ) < 0 ,thus the roor lies in the lower interval, then x u=x r
iv. Calculate the absolute relative approximate error for each iteration.
ε a=|0.8279−0.8492
0.8279 |×100 %
¿ 2.5728 %
Third iteration
x l=0.6 x u=0.8279
f ( x l ) =32.4000 f ( x u )=−1.1706
ii. Estimate the value of root from the equation of xr and evaluate f(xr)
f ( x r )=−0.4240
f ( x l ) . f ( x r ) =−13.7376<0
f ( x l ) . f ( x r ) < 0 ,thus the roor lies in the lower interval, then x u=x r
iv. Calculate the absolute relative approximate error for each iteration.
ε a=|0.8200−0.8279
0.8200 |× 100 %
¿ 1.0000 %
Fourth iteration
ii. Estimate the value of root from the equation of xr and evaluate f(xr)
f ( x r )=−0.1522
f ( x l ) . f ( x r ) =−4.9313< 0
f ( x l ) . f ( x r ) < 0 ,thus the roor lies in the lower interval, then x u=x r
iv. Calculate the absolute relative approximate error for each iteration.
ε a=|0.8172−0.8200
0.8172 |×100 %
¿ 0.3426 %
v. The absolute relative approximate error is less than 1% thus, the procedure is
terminated.
Secant method is a slight variation of newton’s method for function that is hard to
determine. The method required two intial roots.
First iteration
ii. Estimate the root of value of root from the equation of x i+1
iii. Calculate the absolute relative approximate error for each iteration.
ε a=|0.8492−0.9000
0.8492 |×100 %=5.9821 %
Second iteration
ii. Estimate the root of value of root from the equation of x i+1
0.9 000−0.8492
x 2=0.8492−(−3.0342) ( (−6.6000 )−(−3.0342) )
x 2=0.8060
iii. Calculate the absolute relative approximate error for each iteration.
ε a=|0.8060−0.8492
0.8060 |×100 %
¿ 5.3598 %
Third iteration
x 1=0.8492 x2 =0.8060
f ( x 1 ) =−3.0342 f ( x2 ) =0.9726
ii. Estimate the root of value of root from the equation of x i+1
0.8492−0.8060
x 3=0.8060−(0.9726)
( (−3.0342)−(0.9726) )
x 3=0.8165
iii. Calculate the absolute relative approximate error for each iteration.
ε a= |0.8165−0.8060
0.8165 |× 100 %
¿ 1.2860 %
Fourth iteration
x 3=0.8165 x 2=0.8060
f ( x 3 ) =−0.0837 f ( x 2 )=0.9726
ii. Estimate the root of value of root from the equation of x i+1
0.80 6 0−0.8165
x 4 =0.8165−(−0.0837)
( 0.9726−(0.0837) )
x 4 =0.8155
iii. Calculate the absolute relative approximate error for each iteration.
0.8155−0.8165
ε a= | 0.8155 |
×100 %
¿ 0.1226 %
iv. The absolute relative approximate error is less than 1% thus the procedure is
terminated.