Cpb20203 Numerical Methods in Chemical Engineering Assignment 1 (20 Marks 5%)
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 .
of
2 pt
x
(1)
1x 2+ x
pt
K=0.04,
Page 1 of 1