2
CPB20203 NUMERICAL METHODS IN CHEMICAL ENGINEERING Assignment 1 (20 marks = 5%) 1) Determine the roots of f ( x )=−3 x 3 +19 x 2 20 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 3 5.9 x 2 +10.9 x6: a) Graphically b) Using the Newton-Raphson method (three iterations, x i =3.5 ¿ . c) Using the secant method (three iterations, 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 ( O 2 ) and hydrogen ( H 2 ) : H 2 O H 2 + 1 2 O 2 If it is assumed that this is the only reaction involved, the mole fraction x of H 2 O that dissociates can be represented by Mohd Nasir Mahmud/UNIKL MICET Page 1 of 2 Monday, September 23, 2013

Assignment 1

Embed Size (px)

DESCRIPTION

12

Citation preview

Quiz 1 Exponents & Logarithms

CPB20203 NUMERICAL METHODS IN CHEMICAL ENGINEERING Assignment 1 (20 marks = 5%)

1) Determine the roots of graphically. Use MATLAB to generate the graph in the interval with step size 0.1.

In addition, determine the first root of the function with bisection method. Use initial guess of and and a stopping criterion of 1%.

Compute the absolute relative approximate error.

2) Determine the highest real root of

a) Graphically

b) Using the Newton-Raphson method (three iterations,

c) Using the secant method (three iterations,

d) Determine all the roots with MATLAB.

3) In a chemical engineering process, water vapor is heated to sufficiently high temperatures that a significant portion of the water dissociates, or splits apart, to form oxygen and hydrogen

If it is assumed that this is the only reaction involved, the mole fraction of that dissociates can be represented by

where is the reactions equilibrium constant and is the total pressure of the mixture.

If and

a) use MATLAB to plot the graph in Eq. (1)b) determine the value of that satisfies Eq. (1).

Mohd Nasir Mahmud/UNIKL MICETPage 1 of 1Monday, September 23, 2013