1 - Numerical Methods - Stability and Convergence
1 - Numerical Methods - Stability and Convergence
3/11/2014
Outlines
Error analysis & numerical instabilities Approximation of roots of equations Simultaneous linear algebraic equations and matrix inversion Numerical differentiation & integration Interpolation and Extrapolation Least square approximation Eigenvalues and eigenvectors Ordinary differential equations
References
Applied Numerical Methods with MATLAB for engineering and Scientists, Steven C. Chapra, McGraw Hill. Numerical Methods for Engineering, Steven C. Chapra and Raymond P. Canale, McGraw Hill. Numerical Methods using MATLAB, John H. Mathews and Kurtis D. Fink, Pearso Printice Halln. Numerical Methods with Fortran IV case studies, Dorn & McCracken, Wiley
Weighting of Assessments
Numerical Methods
ISSUES IN NUMERICAL ANALYSIS
It is a way to do highly complicated mathematics problems on a computer. It is also known as a technique widely used by scientists and engineers to solve their problems.
TWO ISSUES OF NUMERICAL ANALYSIS: How to compute? This corresponds to algorithmic aspects;
How accurate is it? That corresponds to error analysis
aspects.
5
ADVANTAGES OF NUMERICAL ANALYSIS: It can obtain numerical answers of the problems that have no analytic solution. It does NOT need special substitutions and integrations by parts. It needs only the basic mathematical operations: addition, subtraction, multiplication and division, plus making some comparisons. IMPORTANT NOTES: Numerical analysis solution is always numerical. Results from numerical analysis is an approximation
NUMERICAL ERRORS When we get into the real world from an ideal world and finite to infinite, errors arise. SOURCES OF ERRORS: Mathematical problems involving quantities of infinite precision. Numerical methods bridge the precision gap by putting errors under firm control. Computer can only handle quantities of finite precision.
Summery
Types of Errors Usually we come across the following types of errors in numerical analysis: i.Inherent Errors. These are the errors involved in the statement of a problem. When the problem is first presented to the numerical analysis it may contain certain data or parameters.
ii.
Analytic Error. These are the errors introduced due to transforming a physical or mathematical problem into a computational problem.
iii.Rounding and Chopping Errors The most widely and important errors caused by applying numerical methods is Error caused by chopping and rounding: For example 1. 1/3=0.3333 2. e= 2.718 3. 1.0000
11
iv. Formulation Errors When solving the problem using mathematical method, usually a simple model would be used to describe the source problem, there for some of the factors will be put away which means simplifying the problems which cause some error and this error is called Formulation Error. For example. the second law Newton F= m.a where m is a mass of a particle, a is acceleration In the fact m0 is initial mass of particle V is velocity C is velocity of light since V < C so V/C 0 and m=m0
12
http://numericalmethods.eng.usf.edu
Condition of a Problem
For a problem with input (data) x and output y, y=F(x). The problem is said to be well-conditioned if small changes in x, lead to small changes in y. Otherwise, we say the problem is illconditioned.
16
Stability of an Algorithm
Stability indicates the sensitivity of an algorithm for solving a problem. An algorithm is said to be stable if small changes in the input x lead to small changes in the output y. Otherwise, the algorithm is said to be unstable.
17
THE END