Numerical Analysis Lecture 45.

Slides:



Advertisements
Similar presentations
Numerical Solution of Linear Equations
Advertisements

CS-110 Computational Engineering Part 3
Lecture 5 Newton-Raphson Method
Algebraic, transcendental (i.e., involving trigonometric and exponential functions), ordinary differential equations, or partial differential equations...
CE33500 – Computational Methods in Civil Engineering Differentiation Provided by : Shahab Afshari
Solution of linear system of equations
A few words about convergence We have been looking at e a as our measure of convergence A more technical means of differentiating the speed of convergence.
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW III.
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW II.
NUMERICAL SOLUTION OF ORDINARY DIFFERENTIAL EQUATIONS
NUMERICAL METHODS WITH C++ PROGRAMMING
Differential Equations and Boundary Value Problems
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM.
Numerical Solution of Ordinary Differential Equation
-S.SIVARAJA Dept of MATHEMATICS.  N-NUMERICAL  M-METHODS EASY TO LEARN & EASY TO SCORE.
Introduction to Numerical Analysis Using MATLAB
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 2 Roots of Equations Why? But.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
Lecture 22 - Exam 2 Review CVEN 302 July 29, 2002.
Review Taylor Series and Error Analysis Roots of Equations
Lecture 8 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Lecture 6 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Elliptic PDEs and the Finite Difference Method
Numerical Methods.
Lecture 22 Numerical Analysis. Chapter 5 Interpolation.
Lecture 5 - Single Variable Problems CVEN 302 June 12, 2002.
Meeting 19 System of Linear Equations. Linear Equations A solution of a linear equation in n variables is a sequence of n real numbers s 1, s 2,..., s.
Lecture 40 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Lecture 9 Numerical Analysis. Solution of Linear System of Equations Chapter 3.
Lecture 4 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
MA2213 Lecture 12 REVIEW. 1.1 on page Compute Compute quadratic Taylor polynomials for 12. Compute where g is the function in problems 11 and 12.
MATHEMATICS B.A./B.Sc. (GENERAL) THIRD YEAR EXAMINATION, 2012.
CHAPTER 3 NUMERICAL METHODS
Numerical Analysis Lecture 5.
ECE 3301 General Electrical Engineering
Chapter 7 Numerical Differentiation and Integration
Spring Dr. Jehad Al Dallal
Numerical Analysis Lecture 25.
Numerical Analysis Lecture12.
Interpolation Estimation of intermediate values between precise data points. The most common method is: Although there is one and only one nth-order.
Advanced Numerical Methods (S. A. Sahu) Code: AMC 51151
Numerical Analysis Lecture 27.
Class Notes 18: Numerical Methods (1/2)
Chapter 18.
Solution of Equations by Iteration
Numerical Analysis Lecture 7.
Chapter 7 Numerical Differentiation and Integration
Chapter 27.
Metode Eliminasi Pertemuan – 4, 5, 6 Mata Kuliah : Analisis Numerik
Computers in Civil Engineering 53:081 Spring 2003
Numerical Analysis Lecture 16.
Chapter 26.
Numerical Analysis Lecture 23.
Review of Matrix Algebra
Numerical Analysis Lecture14.
Numerical Analysis Lecture 26.
Numerical Analysis Lecture13.
MATH-321 In One Slide MATH-321 & MATLAB Command.
Numerical Analysis Lecture 19.
Numerical Analysis Lecture10.
Numerical Analysis Lecture 37.
Numerical Analysis Lecture 38.
Numerical Analysis Lecture 21.
Numerical Analysis Lecture11.
Numerical Analysis Lecture 36.
Numerical Analysis Lecture 24.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
Pivoting, Perturbation Analysis, Scaling and Equilibration
Ax = b Methods for Solution of the System of Equations (ReCap):
Presentation transcript:

Numerical Analysis Lecture 45

Summing up

Non-Linear Equations

Bisection Method (Bolzano) Regula-Falsi Method Method of iteration Newton - Raphson Method Muller’s Method Graeffe’s Root Squaring Method

In the method of False Position, the first approximation to the root of f (x) = 0 is given by (2.2) Here f (xn-1) and f (xn+1) are of opposite sign. Successive approximations to the root of f (x) = 0 is given by Eq. (2.2).

METHOD OF ITERATION can be applied to find a real root of the equation f (x) = 0 by rewriting the same in the form,

N-R Formula In Newton – Raphson Method successive approximations x2, x3, …, xn to the root are obtained from N-R Formula

Secant Method This sequence converges to the root ‘b’ of f (x) = 0 i.e. f( b ) = 0.

The Secant method converges faster than linear and slower than Newton’s quadratic.

In Muller’s Method we can get a better approximation to the root, by using

Where we defined

Systems of Linear Equations

Gaussian Elimination Gauss-Jordon Gaussian Elimination Gauss-Jordon Elimination Crout’s Reduction Jacobi’s Gauss- Seidal Iteration Relaxation Matrix Inversion

In Gaussian Elimination method, the solution to the system of equations is obtained in two stages. the given system of equations is reduced to an equivalent upper triangular form using elementary transformations the upper triangular system is solved using back substitution procedure

Gauss-Jordon method is a variation of Gaussian method Gauss-Jordon method is a variation of Gaussian method. In this method, the elements above and below the diagonal are simultaneously made zero

In Crout’s Reduction Method the coefficient matrix [A] of the system of equations is decomposed into the product of two matrices [L] and [U], where [L] is a lower-triangular matrix and [U] is an upper-triangular matrix with 1’s on its main diagonal.

For the purpose of illustration, consider a general matrix in the form

Jacobi’s Method is an iterative method, where initial approximate solution to a given system of equations is assumed and is improved towards the exact solution in an iterative way.

In Jacobi’s method, the (r + 1)th approximation to the above system is given by Equations

Here we can observe that no element of. replaces Here we can observe that no element of replaces entirely for the next cycle of computation.

In Gauss-Seidel method, the corresponding elements of In Gauss-Seidel method, the corresponding elements of replaces those of as soon as they become available. It is also called method of Successive Displacement.

The Relaxation Method is also an iterative method and is due to Southwell.

Eigen Value Problems Power Method Jcobi’s Method

In Power Method the result looks like Here, is the desired largest eigen value and is the corresponding eigenvector.

Interpolation

Finite Difference Operators Newton’s Forward Difference Finite Difference Operators Newton’s Forward Difference Interpolation Formula Newton’s Backward Difference Interpolation Formula Lagrange’s Interpolation Formula Divided Differences Interpolation in Two Dimensions Cubic Spline Interpolation

Finite Difference Operators. Forward Differences. Backward Differences Finite Difference Operators Forward Differences Backward Differences Central Difference

Thus Similarly

Shift operator, E

The inverse operator E-1 is defined as Similarly,

Average Operator,

Differential Operator, D

Important Results

The Newton’s forward difference formula for interpolation, which gives the value of f (x0 + ph) in terms of f (x0) and its leading differences.

An alternate expression is

Newton’s Backward difference formula is,

Alternatively, this formula can also be written as Here

The Lagrange’s formula for interpolation

Newton’s divided difference interpolation formula can be written as

Where the first order divided difference is defined as

Numerical Differentiation and Integration

We expressed D in terms of ∆ :

Using backward difference operator , we have On expansion, we have

Using Central difference Operator Differentiation Using Interpolation Richardson’s Extrapolation

Thus, is approximated by which is given by

Basic Issues in Integration What does an integral represent? = AREA = VOLUME

yn-1 y3 y2 y1 y0 yn xn = b xn-1 x3 x2 x1 x0 = a X O Y (x2, y2) (x1, y1) (x0, y0) y = f(x)

xn = b xn-1 x3 x2 x1 x0 = a X O Y (x2, y2) (x0, y0) y2 y1 y0 y = f(x)

TRAPEZOIDAL RULE

DOUBLE INTEGRATION We described procedure to evaluate numerically a double integral of the form

Differential Equations

Taylor Series Euler Method Runge-Kutta Method Predictor Corrector Taylor Series Euler Method Runge-Kutta Method Predictor Corrector Method

In Taylor’s series we expanded y (t ) by Taylor’s series about the point t = t0 and obtain

In Euler Method we obtained the solution of the differential equation in the form of a recurrence relation

We derived the recurrence relation Which is the modified Euler’s method.

The fourth-order R-K method was described as

where

In general, Milne’s predictor-corrector pair can be written as

This is known as Adam’s predictor formula. Alternatively, it can be written as

Numerical Analysis Lecture 45