Answered step by step
Verified Expert Solution
Question
1 Approved Answer
An equation of state is a model for the relationship between properties that define the thermo - dynamic state of a substance. For example, equations
An equation of state is a model for the relationship between properties that define the thermo
dynamic state of a substance. For example, equations of state for pure substances are commonly
expressed for the pressure as a function of the molar volume and temperature There are
many types of equations of state, but cubic equations of state are the simplest models that can si
multaneously predict the properties of a substance when it coexists as a vapor and liquid. Models
for vaporliquid equilibrium are important to design processes such as distillation.
The van der Waals cubic equation of state is
where a and are model parameters that can be expressed as functions of the critical pressure
and critical temperature and is the gas constant.
Our goal is to apply the van der Waals equation of state to predict the coexistence molar
volumes of vapor and liquid water at its normal boiling point.
Tasks
Derive expressions for and using the fact that at the critical point
The partial derivatives are also evaluated using the critical molar volume and critical
temperature Calculate a and for water using NIST reference data
To use the van der Waals equation of state to find at a given and it is numerically
convenient to rewrite it as a cubic polynomial in the compressibility factor :
where
Determine the compressibility factor for liquid water and smallest root of this polyno
mial, and the compressibility factor for water vapor and largest root of this polynomial,
at water's normal boiling point using:
a Fixedpoint iteration. For only this part, it is recommended to rearrange the polynomial
to solve for the liquid as
and the equation to solve for the vapor as
You can implement fixedpoint iteration in MATLAB using a loop. For example, this
loop iterates times to solve our example problem from class starting from
: :
;
for
end
b The builtin fzero function in MATLAB It is recommended to define an anonymous
function for the equation you will solve. For example, to solve with initial
guess you can do:
eqn @;
fzero
c The builtin roots function in MATLAB Read the MATLAB documentation for an
example of how to use this function.
Use your results from #c to compute the liquid and vapor mass densities, then compare
to the properties of saturated water from NIST If there are discrepancies, comment on
what you think the most likely reason is
A vapor often has a large molar volume, so its molar density is usually small.
The pressure can then be reasonably approximated by the virial expansion, which is a series
expansion in Rewrite the van der Waals equation of state to use the molar density instead
of molar volume, ie as Series expand to second order in about then
solve for for water vapor at the normal boiling point. How does your answer compare to
what you got in # by solving the cubic polynomial exactly?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started