Assignment 1

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

COURSE: NUMERICAL METHOD AND OPTIMIZATION (CHE555)

SEM: 20204

ASSIGNMENT 1

INSTRUCTION:

1. This is an individual assignment.


2. This assignment has to be submitted within 1 week.
3. Plagiarism is totally not allowed. Penalty will be given to those involve.
4. Use the following file name for the assignment submission:
name_ID_EH2203group_A1
.
ANSWER ALL QUESTIONS

QUESTIONS 1 (PO1, CO1, C2)

Shah Alam Lake has been heavily polluted. A group of engineers is working on
the project of cleaning the lake. Mass balance for a pollutant of the lake is
considered and can be written as follows;

dc
V = W − Qc − KVc 2
dt

where volume of the water, V = 1 x 106 m3, concentration of pollutant, c (g/m3),


volume rate of the water, Q = 1 x 105 m3/yr, equilibrium constant, k = 0.25
m3/g.yr, mass rate of the water, W = 1 x 106 g/yr, and time, t.

Identify the steady-state concentration of the pollutant by using the following


methods:

i) Graphical method with initial guess c o = 0. Locate the steady-state


concentration (root) in the plotted graph.
ii) Bisection method with initial guess cl = 2.0 and cu = 2.5. State the steady-
state concentration.
iii) Secant with initial guesses c -1 = 2.0 and c o = 2.5. State the steady-state
concentration.
iv) Give your comment on the result obtained from i), ii), iii) in terms of the
convergence, accuracy and the best method in solving the problem.

The calculation should be done through manual iteration until approximation error
fall below 1%. Present the calculation in four decimal places.

(10 marks)
QUESTION 2 (PO1, CO1, C2)

A water treatment plant consists of three reservoirs. Mass balance of the three
reservoirs can be written as following simultaneous linear equations:

3C1 − 4C2 + 4C3 = 32


− 6C1 + C2 − 4C3 = −23
− 1C1 − 6C2 − 4C3 = −2
.
C1, C2 and C3 are concentrations of chlorine in the reservoirs. Identify
concentration of each reservoir using;
i) Naïve Gauss Elimination method.
ii) Gauss-Jordan method.

(5 marks)

QUESTION 3 (PO4, CO2, P4)

Solve Question 2 by using computer method, i) Excel and ii) Matlab. Write the
details commands (Excel and Matlab) and paste image of the Excel and Matlab
solutions in the answer script.

(5 marks)

End of question paper

You might also like