1 CHEM-E7130 Process Modeling Exercise Matrices. 2 Matrices in case math basic course learnings have been lost... Matrices are ”table of numbers” with.

Slides:



Advertisements
Similar presentations
Determinant The numerical value of a square array of numbers that can be used to solve systems of equations with matrices. Second-Order Determinant (of.
Advertisements

MF-852 Financial Econometrics
Linear Simultaneous Equations
Pam Perlich Urban Planning 5/6020
Ordinary Differential Equations (ODEs) 1Daniel Baur / Numerical Methods for Chemical Engineers / Implicit ODE Solvers Daniel Baur ETH Zurich, Institut.
Matrix Mathematics in MATLAB and Excel
Finding the Inverse of a Matrix
Using Matrices to Solve a 3-Variable System
CE 311 K - Introduction to Computer Methods Daene C. McKinney
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
Chapter 7 Matrix Mathematics Matrix Operations Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Using Matrices to Solve a System of Equations. Multiplicative Identity Matrix The product of a square matrix A and its identity matrix I, on the left.
Eigensystems - IntroJacob Y. Kazakia © Eigensystems 1.
4.5, x 2 and 3 x 3 Matrices, Determinants, and Inverses Date: _____________.
Table of Contents Solving Linear Systems of Equations - Calculator Methods Consider the following augmented matrix... The rows can be written as... Row.
Portfolio Statistics  Portfolio Expected Return: E(r p ) = w T r  Portfolio Variance:  2 p = w T  w  Sum of portfolio weights: = w T 1 –where w is.
Academy Algebra II/Trig
AGB 260: Agribusiness Information Technology Arrays and Array Formulas.
Lecture 2 Using Excel OVERVIEW Complex Formulas Basic Functions Arrays Sorting Data Outlining Data Filtering Data Formatting Tables.
The Theory of the Simplex Method
Matrices Addition & Subtraction Scalar Multiplication & Multiplication Determinants Inverses Solving Systems – 2x2 & 3x3 Cramer’s Rule.
2.5 Determinants and Multiplicative Inverses of Matrices Objectives: Evaluate determinants. Find inverses of matrices. Solve systems of equations by using.
Matrices NamingCalculatorApplication. Making & Naming a Matrix Matrix A.
4.7 Identity and Inverse Matrices and Solving Systems of Equations Objectives: 1.Determine whether two matrices are inverses. 2.Find the inverse of a 2x2.
Inverse Matrices and Matrix Equations Dr. Shildneck Fall, 2015.
Identity What number is the multiplication identity for real numbers? For matrices, n x n--square matrices, has 1’s on main diagonal and zeros elsewhere.
 1 is the multiplicative identify for real #’s : 1· a=a and a· 1 = a  For matrices n X n, the identity matrix has 1’s on its main diagonals and 0’s.
AGB 260: Agribusiness Information Technology Arrays and Array Formulas.
Lesson 11-1 Matrix Basics and Augmented Matrices Objective: To learn to solve systems of linear equation using matrices.
Using Microsoft Excel Built-in Functions and Matrix Operations.
P1 RJM 06/08/02EG1C2 Engineering Maths: Matrix Algebra 1 EG1C2 Engineering Maths : Matrix Algebra Dr Richard Mitchell, Department of Cybernetics AimDescribe.
ME 142 Engineering Computation I Matrix Operations in Excel.
Special Topic: Matrix Algebra and the ANOVA Matrix properties Types of matrices Matrix operations Matrix algebra in Excel Regression using matrices ANOVA.
8.2 Operations With Matrices
3.6 Solving Systems Using Matrices You can use a matrix to represent and solve a system of equations without writing the variables. A matrix is a rectangular.
BELL-WORK Solve the system of equations using matrices:
2.5 – Determinants and Multiplicative Inverses of Matrices.
Math 1320 Chapter 3: Systems of Linear Equations and Matrices 3.2 Using Matrices to Solve Systems of Equations.
Linear System of Simultaneous Equations Warm UP First precinct: 6 arrests last week equally divided between felonies and misdemeanors. Second precinct:
1/15 Fun Matrix Facts and Tricks Ben G. Fitzpatrick Department of Mathematics Loyola Marymount University One LMU Drive.
Matrix Algebra Basics Chapter 3 Section 5. Algebra.
Matrix and Matrices. Matrix Notation It is used to represent multiple data Your work company runs two types of shop, whole-sale and retail. Your company.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Section 6-2: Matrix Multiplication, Inverses and Determinants There are three basic matrix operations. 1.Matrix Addition 2.Scalar Multiplication 3.Matrix.
1 Matrix Math ©Anthony Steed Overview n To revise Vectors Matrices.
Using Matrices to Solve a 3-Variable System
College Algebra Chapter 6 Matrices and Determinants and Applications
MTH108 Business Math I Lecture 20.
12-4: Matrix Methods for Square Systems
AGB 260: Agribusiness Data Literacy
CGN 2420 Matrix Operations in Excel
Chapter 7 Matrix Mathematics
Matrices and Matrix Solutions
The Inverse of a Square Matrix
Matrix Equations Step 1: Write the system as a matrix equation. A three-equation system is shown below. First matrix are the coefficients of all the.
Solving Systems Using Matrices
DETERMINANT MATRIX YULVI ZAIKA.
RECORD. RECORD Gaussian Elimination: derived system back-substitution.
Solving Linear Systems Using Inverse Matrices
Lecture 11 Matrices and Linear Algebra with MATLAB
Chapter 7: Matrices and Systems of Equations and Inequalities
Unit 3: Matrices
Determinants 2 x 2 and 3 x 3 Matrices.
Dr Huw Owens Room B44 Sackville Street Building Telephone Number 65891
Further Matrix Algebra
Method 1: Substitution methods
A square matrix is a matrix with the same number of columns as rows.
Determinants 2 x 2 and 3 x 3 Matrices.
L4-5/L4-6 Objective: Students will be able to evaluate determinants of matrices.
Presentation transcript:

1 CHEM-E7130 Process Modeling Exercise Matrices

2 Matrices in case math basic course learnings have been lost... Matrices are ”table of numbers” with certain mathematical operations. Matrices are linear operators. Matrix multiplication column number row number

Matrix calculations with Excel 3 Excel can carry out simple matrix calculations, such as summations, multiplications (mmult), and matrix inversion (minv) You need to paint the appropriate selection of result cells, and press ”ctrl-shift-enter” at the formula bar to make the result a matrix Try this first by inverting arbitrary 2*2 square matrix, then multiplying the result with a 2*1 column matrix. Try also with a diagonal matrix and a matrix with columns or rows that are not linearly independent

Write the set of equations in a matrix form d(c)/dt = [A](c) 4 in batch reactor kfkf krkr Matrix exercises (2)

1.Solve the system d(c)/dt = [A](c) analytically with pen and paper in a general case 2.Look at matlab function expm, compare to exp. Learn how to enter matrix variables. Look at matrix operations; transpose ’, referring to a matrix row/column with ”:”, etc. 3.Use matlab function expm to calculate concentrations at different time steps with kf=1, kr=0.001, and K=1, ca(t=0)=1, other concentrations are 0. 4.Calculate eigenvalues and see how varying kr affects the ratio of the largest and smallest non-negative eigenvalue. 5.Solve the system with matlab, try different ODE solvers (ode15s, ode45 etc.). Try different solver tolerances 5

Matrix exercises (optional) 6. Solve the same system with Excel using explicit Euler. What is the largest time step possible? 7. Solve the exponential matrix with a series expansion and compare the result to the expm results and comment on the required number of terms 8.Calculate the same matrix function by using eigenvalues and eigenvectors 6