Programming for Chemical Engineers Using C, C++, and MATLAB

In this chapter we will apply what we have learned so far in MATLAB programming and develop programs that can handle more complicated chemical engineering problems.
These problems usually can be solved using functions for numerical computations discussed in the previous chapter, which covers:
Physical Properties Approximation
Saturated Steam Pressure-Temperature Relationship
Binary System - Equilibrium Curve
Enthalpy-Concentration Relationship for Magnesium Sulfate System
Phase Diagram - Magnesium Sulfate System
Chemical Engineering Sample Problems
Cubic Equation of State
Compressibility Factor
Simple Differential Distillation
Two-dimensional Conduction
Reactor Tanks
Reactions in Series
Crystallization
All program listings discussed in this chapter can be found on the CD-ROM.
<span class="beginpage"> pagenum="256"><a name="679"></a><a name="page256"></a></span>\Program Listings\Chapter 8\sat_p2t.m Program Listing 8.1\Program Listings\Chapter 8\PL8_2.m Program Listing 8.2\Program Listings\Chapter 8\PL8_2a.m Program Listing 8.2a\Program Listings\Chapter 8\PL8_2b.m Program Listing 8.2b\Program Listings\Chapter8\Enthal_MgSO4.m Program Listing 8.3\Program Listings\Chapter 8\phase.m Program Listing 8.4\Program Listings\Chapter 8\PL8_5.m Program Listing 8.5\Program Listings\Chapter 8\PL8_6.m Program Listing 8.6\Program Listings\Chapter 8\PL8_7.m Program Listing 8.7\Program Listings\Chapter 8\PL8_8.m Program Listing 8.8\Program Listings\Chapter 8\reactor.m Program Listing 8.9\Program Listings\Chapter 8\PL8_10.m Program Listing 8.10\Program Listings\Chapter 8\series.m Program Listing 8.11\Program Listings\Chapter 8\PL8_12.m Program Listing 8.12\Program Listings\Chapter 8\PL8_13.m Program Listing 8.13
In Chapter 3, the saturated steam pressure-temperature...