You are on page 1of 2

CPB20203 NUMERICAL METHODS IN CHEMICAL ENGINEERING

Assignment 2 (20 marks = 5%)

1) A peristaltic pump delivers a unit flow {# { of a highly viscous fluid. The network is depicted in Figure 1. Every pipe section has the same length and diameter. The mass and mechanical energy balance can be simplified to obtain the flows in every pipe. # % ' $ &

Figure 1 a) Assuming a unit flow for # i.e. # = 1, write the following system of equations below in matrix form. % + 2& 2$ = 0 ' + 2 2& = 0 3 2 = 0 # = $ + % % = & + ' ' = + b) Solve the system of equations above using MATLAB to obtain the flow in every stream.

2) A liquid-liquid extraction process conducted in the Electrochemical Materials Laboratory involved the extraction of nickel from the aqueous phase into an organic phase. A typical set of experimental data from the laboratory is given below. Ni aqueous phase, a (g l) Ni organic phase, g (g l ) 2 8.57 2.5 10 3 12

Assuming g is the amount of Ni in the organic phase and a is the amount of Ni in the aqueous phase, the quadratic interpolant that estimates g is given by
g = x1 a 2 + x 2 a + x3 , 2 a 3 The solution for the unknowns x1 , x 2 , and x3 is given by

2 1 x1 8.57 4 6.25 2.5 1 x = 10 2 9 3 1 12 x 3


a) Find the values of x1 , x 2 , and x3 using Gauss elimination.

Mohd Nasir Mahmud/UNIKL MICET

Page 1 of 2

Monday, February 17, 2014

CPB20203 NUMERICAL METHODS IN CHEMICAL ENGINEERING

Assignment 2 (20 marks = 5%)

b) Estimate the amount of nickel in the organic phase when 2.3 g l is in the aqueous phase using quadratic interpolation. c) Verify your answers using MATLAB.

3) Let

8 2 1 A = 3 7 2E. 2 3 9

a) Determine the LU factorization without pivoting by hand using Gauss elimination method for the above matrix. b) Check your results by validating that {H{{{ = {{. c) Repeat (a) and (b) using MATLAB.

4) Given the system

17# 2$ 3% = 500 5# + 21$ 2% = 200 5# 5$ + 22% = 30


a) Solve the problem with Gauss-Siedel method to obtain the solution accurate to within = 0.01. b) Verify your answers using MATLAB.

5) Consider the system

+ 10 = 7 20 + 3 2 = 51 2 + 8 + 4 = 25
a) Use the Gauss-Siedel method to obtain the solution of the linear system accurate to within = 0.001. b) Compare the results by Gauss elimination method. c) Verify your answers using MATLAB.

Mohd Nasir Mahmud/UNIKL MICET

Page 2 of 2

Monday, February 17, 2014

You might also like