Kapuno, Raul Raymond.
Programming for chemical engineers using C, C++, and MATLAB® / Raul Raymond Kapuno, Jr. - xix, 449 pages : illustrations ; 25 cm. + 1 CD-ROM (4 3/4 in.)
Includes bibliographical references (p. [419]-421) and index.
Contents
Introduction
* Purpose of this Book
* Computer Programming Languages Used
* How to Use this Book
* Special Note from the Author
PART I Using C and C++
Chapter 1 - Review on C Programming
Constant and Variable Name Declaration
Constant Name Declaration
Variable Name Declaration
Basic Output and Input Statements
Output Statements
Input Statements
Operators
Arithmetic Operators
Assignment Operators
Relational Operators
Logical Operators
Conditional Statements
if - else Statement
Nested if - else if Statement
switch/case Statement
Looping Statements
for Loop Statement
while Loop Statement
do - while Loop Statement
Arrays
Creating Functions
Laboratory Exercises
Chapter 2 - Numerical Computation Using C
Solving Simultaneous Linear Equations
Matrix Algebra
Cramer¿s Rule and Determinants
Gauss-Jordan Method
Numerical Method
Jacobi Method/Gauss-Seidel Method
Regression Analysis
Linear Regression
Linear Regression for Nonlinear Relationship
Polynomial Regression
Validation through Statistical Analysis
Correlation Coefficient and Coefficient of Determination
Standard Error of Estimate
Significance Test
Interpolation Analysis
Linear Interpolation
Lagrange Polynomial Interpolation
Linear Programming
Simplex Method
Laboratory Exercises
Chapter 3 - Physical Properties¿Prediction and Approximation
Phase Equilibrium
Binary System
Antoine Equation
Benzene-Toluene Equilibrium System
Saturated Steam Data
Saturated Pressure
Density and Specific Volume
Enthalpy
Entropy
Humidity
Relative Humidity
Dew Point
Absolute Humidity
Duhring Line (BPE)
NaOH Water System
Enthalpy-Concentration
NaOH Water System
Friction Factor
Laminar Flow
Turbulent Flow in Smooth Pipe
Laboratory Exercises
Chapter 4 - Applications Using C
Material Balance
Multiple Reactors
Condensation
Energy Balance
Multiple Effect Evaporators
Fluid Flow
Pressure Drop Determination
Pipe Diameter Calculation
Mass and Heat Transfer
Temperature Determination in Two-Dimensional Conduction
Evaporation
Distillation
Optimization
Process Design
Plant Operation
Laboratory Exercises
Chapter 5 ¿ Overview of C++
C and C++ Syntax
Basic Output and Input Stream
Conditional Statements
Looping Statements
Arrays
Functions
Object-Oriented Programming (OOP) in C++
Class
Distillation Program Listing Revisited
Laboratory Exercises
PART II Using MATLAB
Chapter 6 ¿ Introduction to MATLAB
MATLAB Environment
MATLAB Desktop
Comand Window
Command History Window
Editor/Debugger
Workspace
Current Directory Window
Array Editor
Help Window
Developing M-Files
Variable and Constant Name Declaration
Basic Output and Input Statements
Output Statements
Input Statements
Operators
Arithmetic and Assignment Operators
Relational Operators
Logical Operators
Conditional Statements
if - else Statement
Nested if - elseif Statement
switch/case Statement
Looping Statements
for Loop Statement
while Loop Statement
Scalars, Vectors and Matrices
Initialization
Manipulating Arrays
Arithmetic Operation
Creating Functions
Plotting
Basic 2D Plotting
Axis Command Functions
Titles and Labels
Adding Lines to Graphs
Setting Line Style and Width
Basic 3D Plotting
Laboratory Exercises
Chapter 7 ¿ Functions for Numerical Computations
Matrix Method for Linear Equations
The inv Function
Matrix Left Division (\)
Regression and Curve Fitting
The polyfit Function
The polyval Function
Coefficient of Determination and Standard Error of Estimate
Finding Roots
The roots Function
The fzero Function
Interpolation
One-Dimensional Interpolation
Two-Dimensional Interpolation
Numerical Integration
Trapezoidal Integration
Quadrature
Ordinary Differential Equations (ODE)
The ode23 and ode45Functions
Laboratory Exercises
Chapter 8 ¿ Applications Using MATLAB
Physical Properties Approximation
Saturated Steam Pressure-Temperature Relationship
Binary System ¿ Equilibrium Curve
Enthalpy Concentration ¿ Magnesium Sulfate
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
Laboratory Exercises
Chapter 9 ¿ Interfacing MATLAB with C
Introduction to MEX-files
Components of MEX-files
MATLAB Supported C Compilers
Handling Scalars
One Scalar Input and One Scalar Output
Two Scalar Inputs and One Scalar Output
Handling Vectors
One Vector Input and One Scalar Output
Handling Matrices
Multiple Matrix Inputs and One Vector Output
Previous Evaporation Problems Revisited
Single-Effect Evaporator Problem
Triple-Effect Evaporator Problem
Introduction to MATLAB Engine
Components of MATLAB Engine
Example on Plotting
Compiling Engine Programs
Modified Distillation Program
Laboratory Exercises
Index
9789814272117 9781934015094 1934015091
2008000605
MATHLAB.
Chemical engineering--Computer programs.
C (Computer program language)
C++ (Computer program language)
TP184 / .K37 2008
660.0285/536
Programming for chemical engineers using C, C++, and MATLAB® / Raul Raymond Kapuno, Jr. - xix, 449 pages : illustrations ; 25 cm. + 1 CD-ROM (4 3/4 in.)
Includes bibliographical references (p. [419]-421) and index.
Contents
Introduction
* Purpose of this Book
* Computer Programming Languages Used
* How to Use this Book
* Special Note from the Author
PART I Using C and C++
Chapter 1 - Review on C Programming
Constant and Variable Name Declaration
Constant Name Declaration
Variable Name Declaration
Basic Output and Input Statements
Output Statements
Input Statements
Operators
Arithmetic Operators
Assignment Operators
Relational Operators
Logical Operators
Conditional Statements
if - else Statement
Nested if - else if Statement
switch/case Statement
Looping Statements
for Loop Statement
while Loop Statement
do - while Loop Statement
Arrays
Creating Functions
Laboratory Exercises
Chapter 2 - Numerical Computation Using C
Solving Simultaneous Linear Equations
Matrix Algebra
Cramer¿s Rule and Determinants
Gauss-Jordan Method
Numerical Method
Jacobi Method/Gauss-Seidel Method
Regression Analysis
Linear Regression
Linear Regression for Nonlinear Relationship
Polynomial Regression
Validation through Statistical Analysis
Correlation Coefficient and Coefficient of Determination
Standard Error of Estimate
Significance Test
Interpolation Analysis
Linear Interpolation
Lagrange Polynomial Interpolation
Linear Programming
Simplex Method
Laboratory Exercises
Chapter 3 - Physical Properties¿Prediction and Approximation
Phase Equilibrium
Binary System
Antoine Equation
Benzene-Toluene Equilibrium System
Saturated Steam Data
Saturated Pressure
Density and Specific Volume
Enthalpy
Entropy
Humidity
Relative Humidity
Dew Point
Absolute Humidity
Duhring Line (BPE)
NaOH Water System
Enthalpy-Concentration
NaOH Water System
Friction Factor
Laminar Flow
Turbulent Flow in Smooth Pipe
Laboratory Exercises
Chapter 4 - Applications Using C
Material Balance
Multiple Reactors
Condensation
Energy Balance
Multiple Effect Evaporators
Fluid Flow
Pressure Drop Determination
Pipe Diameter Calculation
Mass and Heat Transfer
Temperature Determination in Two-Dimensional Conduction
Evaporation
Distillation
Optimization
Process Design
Plant Operation
Laboratory Exercises
Chapter 5 ¿ Overview of C++
C and C++ Syntax
Basic Output and Input Stream
Conditional Statements
Looping Statements
Arrays
Functions
Object-Oriented Programming (OOP) in C++
Class
Distillation Program Listing Revisited
Laboratory Exercises
PART II Using MATLAB
Chapter 6 ¿ Introduction to MATLAB
MATLAB Environment
MATLAB Desktop
Comand Window
Command History Window
Editor/Debugger
Workspace
Current Directory Window
Array Editor
Help Window
Developing M-Files
Variable and Constant Name Declaration
Basic Output and Input Statements
Output Statements
Input Statements
Operators
Arithmetic and Assignment Operators
Relational Operators
Logical Operators
Conditional Statements
if - else Statement
Nested if - elseif Statement
switch/case Statement
Looping Statements
for Loop Statement
while Loop Statement
Scalars, Vectors and Matrices
Initialization
Manipulating Arrays
Arithmetic Operation
Creating Functions
Plotting
Basic 2D Plotting
Axis Command Functions
Titles and Labels
Adding Lines to Graphs
Setting Line Style and Width
Basic 3D Plotting
Laboratory Exercises
Chapter 7 ¿ Functions for Numerical Computations
Matrix Method for Linear Equations
The inv Function
Matrix Left Division (\)
Regression and Curve Fitting
The polyfit Function
The polyval Function
Coefficient of Determination and Standard Error of Estimate
Finding Roots
The roots Function
The fzero Function
Interpolation
One-Dimensional Interpolation
Two-Dimensional Interpolation
Numerical Integration
Trapezoidal Integration
Quadrature
Ordinary Differential Equations (ODE)
The ode23 and ode45Functions
Laboratory Exercises
Chapter 8 ¿ Applications Using MATLAB
Physical Properties Approximation
Saturated Steam Pressure-Temperature Relationship
Binary System ¿ Equilibrium Curve
Enthalpy Concentration ¿ Magnesium Sulfate
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
Laboratory Exercises
Chapter 9 ¿ Interfacing MATLAB with C
Introduction to MEX-files
Components of MEX-files
MATLAB Supported C Compilers
Handling Scalars
One Scalar Input and One Scalar Output
Two Scalar Inputs and One Scalar Output
Handling Vectors
One Vector Input and One Scalar Output
Handling Matrices
Multiple Matrix Inputs and One Vector Output
Previous Evaporation Problems Revisited
Single-Effect Evaporator Problem
Triple-Effect Evaporator Problem
Introduction to MATLAB Engine
Components of MATLAB Engine
Example on Plotting
Compiling Engine Programs
Modified Distillation Program
Laboratory Exercises
Index
9789814272117 9781934015094 1934015091
2008000605
MATHLAB.
Chemical engineering--Computer programs.
C (Computer program language)
C++ (Computer program language)
TP184 / .K37 2008
660.0285/536