Vous êtes sur la page 1sur 2

Instructions:

Create a script file (*.m) to write your work


At the beginning of your work inside the *.m file, write Problem # in the first line, then your
name, and then start with the work
Properly use notes to show the output of your code (adding a % in front of the code as to
denote them as notes)
Answer additional questions on your results in commented text inside the *.m
I will be executing the m-file you send me in order to evaluate your work. Upload your *.m file to
the e-Learn activity section
Create a text (ASCII) file called readme.txt and upload it to the e-Learn activity section
o Include in this file any discussion of what should be done to execute and evaluate your
work. This need not be an involved document; just a simple set of directions that tell me
what I should do to look at your work.
o You can create text files using Microsoft Word. Select Plain Text from the list of format
choices; do not save readme.txt as a formatted Word document

Problem 1. Solutions of equations of state

Determine the specific volume of saturated steam at a temperature of 375 K. Use the van der Waals and
Soave-Redlich-Kwong equations to determine the volume. Compare the results to the specific volume
indicated in the saturated steam table.

Problem 2. Solution of material balance equations

A chemical reaction takes place in a series of four continuous stirred tank reactors arranged as shown in
the figure below.

The chemical reaction is a firstorder irreversible reaction of the type




The conditions of temperature in each reactor are such that the value of the rate constant is different
in each reactor. Also, the volume of each reactor is different. The values of and are given in the
table below.

Reactor (L) (h-1)


1 1000 0.1
2 1500 0.2
3 100 0.4
4 500 0.3

The following assumptions can he made regarding this system:


1. The system is at steady state.
2. The reactions are in the liquid phase.
3. There is no change in volume or density of the liquid.
4. The rate of disappearance of component A in each reactor is by = mol/h

Set up the material balance equation for each of the four reactors. Write a MATLAB script to solve the
resultant set of linear equations and find the exit concentration from each reactor. Use the Gauss-Siedel
iterative method. Comment on the number of iteration steps involved, implementation time, final
values, etc. using this algorithm to solve the set of linear equations.

Vous aimerez peut-être aussi