Professional Documents
Culture Documents
Assignment 2 Matlab
Assignment 2 Matlab
ASSIGNMENT 2
INSTRUCTION:
1. This group assignment (3 members).
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:
The methane conversion in a chemical reaction is described in the following equation for
determining the rate constant (k) and order of reaction (m) as
−𝑟𝑚𝑒𝑡ℎ𝑎𝑛𝑒 = 𝑘𝐶𝑚𝑒𝑡ℎ𝑎𝑛𝑒 𝑚
and Table 1 represents the chemical data for concentration and reaction rate of methane.
Table 1 Chemical Data
Cmethane (gmol/l) 4 2.25 1.45 1.0 0.65 0.25 0.06
-rmethane (gmol/ls) 0.398 0.298 0.238 0.198 0.158 0.098 0.048
b) Write the reaction rate expression for methane as a solution of rate constant (k) and
order of reaction (m) in 1a).
c) Demonstrate the graph profile of this chemical reaction with the equation by using Ms
Excel .
(15 marks)
QUESTIONS 2 (PO4, CO2, P4)
Prove the solutions done in Question 1 by using MATLAB (note: show the procedure including
the write up in the editor script, command window and the solutions, and the graph profile).
(5 marks)
QUESTIONS 3 (PO2, CO3, C6)
The height of flow water in the reservoir can be computed with equation of
a) Iterate this equation until the approximate error falls below s = 1% by using Golden-
Section Search and Quadratic Method to determine the maximum height of flow water
in the reservoir (Given initial guesses of zl = -2 and zu= 4 for Golden-Section Search,
whereas z0=0, z1= -2 and z2= 4 for Quadratic Method).
(10 marks)