1-Introduction
1-Introduction
, 2015-2016
Introduction
Dr. Maha Moddather
mahamoddather@eng.cu.edu.eg
Spring 2016
Why Do We Need Numerical
Analysis Methods?
Introduction
Graphical Solution.
implement.
Introduction
PRESENTATION
Course Outline
Regulations
Outline
Systems of Linear Algebraic Equations
Nonlinear Equations
Polynomial Approximation & Interpolation
Numerical Differentiation & Difference
Formulas
Numerical Integration
Discretization & Finite Difference Methods
Outline
Weighted Residual Approach
Piecewise Functions
Finite Element Methods
Optimization
Curve Fitting
Ordinary Differential Equations
Partial Differential Equations
Outline
Perturbation methods
Fourier analysis
Approximations & Round-off Errors
Outline
Programming
Language
MATLAB Program
Grading System
Grading System
Grading
100%
Column 2 Column m
Row 1
Row n
Matrix Notations
Row vector, n = 1
Column vector, m = 1
Square matrix, n = m
Matrix Notations
Symmetric matrix
Diagonal matrix
Identity matrix
Matrix Notations
Upper triangular
matrix
Lower triangular
matrix
Banded matrix
Ex., Band width = 3
(tridiagonal matrix)
Matrix Operating Rules
Matrix Operating Rules
Matrix Operating Rules
Matrix Operating Rules
Matrix Operating Rules
column row
Matrix Operating Rules
3 by 2
2 by 2
3 by 2
Matrix Operating Rules
Matrix Operating Rules
Matrix Operating Rules
If A is a square matrix:
If A is a square matrix:
AT is the transpose of A
Matrix Operating Rules
For a 2 x 2 determinant
Ex.,
Matrix Operating Rules
For a 3 x 3 determinant
minor
Ex.,
“Augmentation”
No division in Matrices
Matrix Operating Rules
Solving Linear Algebraic Equations
Cramer’s Rule.
Gauss Elimination
Gauss-Jordan
LU Decomposition
Gauss Seidel
Solving Linear Algebraic Equations
Direct Methods:
Cramer’s Rule.
Gauss Elimination.
Gauss Jordan.
Banded Matrix.
Skyline
Iterative Methods
Jacobi Iteration.
Gauss-Seidel
The Graphical Method
slope intercept
The Graphical Method
Ex., Solve
intercept
slope
The Graphical Method
Ex., Solve
intercept
slope
The Graphical Method
Ex., Solve
The Graphical Method
Ex.,
Cramer’s Rule
Ex.,
Cramer’s Rule
Ex.,
Cramer’s Rule
Ex.,
The Elimination of Unknowns
multiply by a21
multiply by a11
Cramer’s rule
The Elimination of Unknowns
Ex.,
Gauss Elimination
The procedure consisted of two steps:
Ex.,
Gauss Elimination
Pivot
x 0.1/3
x 0.3/3
Pivot x -0.19/7.003333
Gauss Elimination
Gauss Elimination
Gauss Elimination
Drawbacks of Gauss Elimination
Round-off errors
Correct answer
Ex.,
Drawbacks of Gauss Elimination
Partial pivoting
Drawbacks of Gauss Elimination
3. Singular systems (D = 0)
Ex.,
Drawbacks of Gauss Elimination
6
x1+2x2=10
5 1.1x1+2x2=10.4
4
x2
3 Ill conditioned
2 condition
1
0
0 1 2 3 4 5 6 7 8 9 10
x1
Gauss Elimination