INTERPOLATION(1) ELM1222 Numerical Analysis. ELM1222 Numerical Analysis Dr Muharrem Mercimek

Similar documents
Lecture 4: Piecewise Cubic Interpolation

DCDM BUSINESS SCHOOL NUMERICAL METHODS (COS 233-8) Solutions to Assignment 3. x f(x)

GAUSS ELIMINATION. Consider the following system of algebraic linear equations

Introduction to Numerical Integration Part II

6 Roots of Equations: Open Methods

Chapter Newton-Raphson Method of Solving a Nonlinear Equation

Shuai Dong. Using Math and Science to improve your game

CISE 301: Numerical Methods Lecture 5, Topic 4 Least Squares, Curve Fitting

Chapter Newton-Raphson Method of Solving a Nonlinear Equation

Lecture 36. Finite Element Methods

SOLVING SYSTEMS OF EQUATIONS, ITERATIVE METHODS

4. Eccentric axial loading, cross-section core

8. INVERSE Z-TRANSFORM

Model Fitting and Robust Regression Methods

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad

7.2 Volume. A cross section is the shape we get when cutting straight through an object.

NUMERICAL DIFFERENTIATION

ESCI 342 Atmospheric Dynamics I Lesson 1 Vectors and Vector Calculus

Review of linear algebra. Nuno Vasconcelos UCSD

One-sided finite-difference approximations suitable for use with Richardson extrapolation

Definition of Tracking

Uniform Circular Motion

An Introduction to Support Vector Machines

Lecture 2: Numerical Methods for Differentiations and Integrations

ORDINARY DIFFERENTIAL EQUATIONS

INTRODUCTION TO COMPLEX NUMBERS

( ) [ ( k) ( k) ( x) ( ) ( ) ( ) [ ] ξ [ ] [ ] [ ] ( )( ) i ( ) ( )( ) 2! ( ) = ( ) 3 Interpolation. Polynomial Approximation.

VECTORS VECTORS VECTORS VECTORS. 2. Vector Representation. 1. Definition. 3. Types of Vectors. 5. Vector Operations I. 4. Equal and Opposite Vectors

Pyramid Algorithms for Barycentric Rational Interpolation

? plate in A G in

International Journal of Pure and Applied Sciences and Technology

Principle Component Analysis

The Schur-Cohn Algorithm

Nice plotting of proteins II

(2mn, m 2 n 2, m 2 + n 2 )

The Fundamental Theorem of Algebra. Objective To use the Fundamental Theorem of Algebra to solve polynomial equations with complex solutions

Math 497C Sep 17, Curves and Surfaces Fall 2004, PSU

( ) ( )()4 x 10-6 C) ( ) = 3.6 N ( ) = "0.9 N. ( )ˆ i ' ( ) 2 ( ) 2. q 1 = 4 µc q 2 = -4 µc q 3 = 4 µc. q 1 q 2 q 3

Course Review Introduction to Computer Methods

Rank One Update And the Google Matrix by Al Bernstein Signal Science, LLC

Computation of Fifth Degree of Spline Function Model by Using C++ Programming

Chapter 12. Ordinary Differential Equation Boundary Value (BV) Problems

2.29 Numerical Fluid Mechanics

Quiz: Experimental Physics Lab-I

The Fourier Transform

NUMERICAL MODELLING OF A CILIUM USING AN INTEGRAL EQUATION

Fall 2012 Analysis of Experimental Measurements B. Eisenstein/rev. S. Errede. with respect to λ. 1. χ λ χ λ ( ) λ, and thus:

More metrics on cartesian products

Variable time amplitude amplification and quantum algorithms for linear algebra. Andris Ambainis University of Latvia

Electrochemical Thermodynamics. Interfaces and Energy Conversion

Module 14: THE INTEGRAL Exploring Calculus

Solution of Linear System of Equations and Matrix Inversion Gauss Seidel Iteration Method

THE COMBINED SHEPARD ABEL GONCHAROV UNIVARIATE OPERATOR

INTERPOLATION(2) ELM1222 Numerical Analysis. ELM1222 Numerical Analysis Dr Muharrem Mercimek

Chapter 3 Describing Data Using Numerical Measures

MA 323 Geometric Modelling Course Notes: Day 13 Bezier Curves & Bernstein Polynomials

Polynomial Regression Models

6.3.4 Modified Euler s method of integration

CS434a/541a: Pattern Recognition Prof. Olga Veksler. Lecture 9

Remember: Project Proposals are due April 11.

Partially Observable Systems. 1 Partially Observable Markov Decision Process (POMDP) Formalism

Originated from experimental optimization where measurements are very noisy Approximation can be actually more accurate than

Chemical Reaction Engineering

Jens Siebel (University of Applied Sciences Kaiserslautern) An Interactive Introduction to Complex Numbers

DATA FITTING. Intensive Computation 2013/2014. Annalisa Massini

Dennis Bricker, 2001 Dept of Industrial Engineering The University of Iowa. MDP: Taxi page 1

Chemical Reaction Engineering

1 Error Analysis of Simple Rules for Numerical Integration

Lecture 13 APPROXIMATION OF SECOMD ORDER DERIVATIVES

v v at 1 2 d vit at v v 2a d

Least squares. Václav Hlaváč. Czech Technical University in Prague

Difference Equations

Interpolation of Scattered Data: Investigating Alternatives for the Modified Shepard Method

1 Part II: Numerical Integration

Chapter 2 Introduction to Algebra. Dr. Chih-Peng Li ( 李 )

CIVL 8/7117 Chapter 10 - Isoparametric Formulation 42/56

Linear Feature Engineering 11

Abhilasha Classes Class- XII Date: SOLUTION (Chap - 9,10,12) MM 50 Mob no

Chapter Newton s Method

A MODIFIED METHOD FOR SOLVING SYSTEM OF NONLINEAR EQUATIONS

Let us look at a linear equation for a one-port network, for example some load with a reflection coefficient s, Figure L6.

Chapter Gauss-Seidel Method

Trigonometry. Trigonometry. Solutions. Curriculum Ready ACMMG: 223, 224, 245.

Linear system of the Schrödinger equation Notes on Quantum Mechanics

Formulated Algorithm for Computing Dominant Eigenvalue. and the Corresponding Eigenvector

Cubic Trigonometric B-Spline Applied to Linear Two-Point Boundary Value Problems of Order Two

Lecture 20: Numerical Integration III

Homework Assignment 3 Due in class, Thursday October 15

Correlation and Regression. Correlation 9.1. Correlation. Chapter 9

90 S.S. Drgomr nd (t b)du(t) =u()(b ) u(t)dt: If we dd the bove two equltes, we get (.) u()(b ) u(t)dt = p(; t)du(t) where p(; t) := for ll ; t [; b]:

FINITE NEUTROSOPHIC COMPLEX NUMBERS. W. B. Vasantha Kandasamy Florentin Smarandache

Chapter 4: Root Finding

Applied Statistics Qualifier Examination

Polynomial Approximations for the Natural Logarithm and Arctangent Functions. Math 230

WINTER 2017 EXAMINATION

Introduction. Definition of Hyperbola

y i x P vap 10 A T SOLUTION TO HOMEWORK #7 #Problem

This model contains two bonds per unit cell (one along the x-direction and the other along y). So we can rewrite the Hamiltonian as:

Many-Body Calculations of the Isotope Shift

Numerical Methods. ME Mechanical Lab I. Mechanical Engineering ME Lab I

Transcription:

ELM Numercl Anlss Dr Muhrrem Mercmek INTEPOLATION ELM Numercl Anlss Some of the contents re dopted from Lurene V. Fusett, Appled Numercl Anlss usng MATLAB. Prentce Hll Inc., 999

ELM Numercl Anlss Dr Muhrrem Mercmek Tod s lecture Polnoml Interpolton Lgrnge Interpolton Newton Interpolton Dffcultes wth Polnoml Interpolton Hermte Interpolton tonl-functon Interpolton

ELM Numercl Anlss Dr Muhrrem Mercmek Lgrnge Interpolton Polnomls Bsc concept The Lgrnge nterpoltng polnoml s the polnoml of degree n- tht psses through the n ponts. Usng gven severl pont, we cn fnd Lgrnge nterpolton polnoml.

Generl Form of Lgrnge The generl form of the polnoml s p = L + L + + L n n where the gven ponts re,,.., n, n. The equton of the lne pssng through two ponts, nd, s The equton of the prbol pssng through three ponts,,,, nd, s p p............ n k k k k k k n k k k L ELM Numercl Anlss Dr Muhrrem Mercmek

ELM Numercl Anlss Dr Muhrrem Mercmek 5 Lgrnge Interpolton Emple :, =-,,, =0,,, =,8 p 0 0 8 0 0 0 0 8 8 8

ELM Numercl Anlss Dr Muhrrem Mercmek 6 Lgrnge Interpolton We cn represent the Lgrnge polnoml wth coeffcent c k. p = c N + c N + + c n N n c k N k k k... k k k k... k n... k k... n

ELM Numercl Anlss Dr Muhrrem Mercmek 7 Hgher Order Interpolton Polnomls Emple : Hgher order nterpolton polnomls = [ - - 0 ], = [ -5 0 0-0 5]

evew nd Dscusson In Lgrnge nterpolton polnoml, t lws go through gven ponts. It s less convenent thn the Newton form when ddtonl dt ponts m be dded to the problem. p 8 ELM Numercl Anlss Dr Muhrrem Mercmek

-9 Newton form of the equton of strght lne pssng through two ponts, nd, s Newton form of the equton of prbol pssng through three ponts,,,, nd, s The generl form of the polnoml pssng through n ponts,,, n, n s Newton Interpolton Polnomls p p...... n n p 9 ELM Numercl Anlss Dr Muhrrem Mercmek

Substtutng, nto Substtutng, nto Substtutng, nto p Consder prbol equton obtned usng three ponts 0 ELM Numercl Anlss Dr Muhrrem Mercmek Newton Interpolton Polnomls

Emple : Pssng through the ponts, =-,,, =0,, nd, =, 8. The equtons s Where the coeffcents re 0 p 0 0 0 8 p ELM Numercl Anlss Dr Muhrrem Mercmek Newton Interpolton Polnomls

Pssng through the ponts, =-,,, =0,, nd, =, 8. p p ELM Numercl Anlss Dr Muhrrem Mercmek Newton Interpolton Polnomls

ELM Numercl Anlss Dr Muhrrem Mercmek Addtonl Dt Ponts Emple : ddng the ponts, = -, - nd 5, 5 =, to the prevous dt p

ELM Numercl Anlss Dr Muhrrem Mercmek Hgher Order Interpolton Polnomls Emple 5: Consder gn the dt wth Lgrnge form. = [ - - 0 ], = [ -5 0 0-0 5] Do t gn wth Newton form. p 55 6 the polnoml s cubc

ELM Numercl Anlss Dr Muhrrem Mercmek 5 Hgher Order Interpolton Polnomls Emple 6: If the vlues re modfed slghtl, the dvded-dfference tble shows the smll contrbuton from the hgher degree terms: N.5 5.95.0 0.067 0.00 0.0007

ELM Numercl Anlss Dr Muhrrem Mercmek 6 Dffcultes: Humped nd Flt Dt Emple 7: The dt = [ - -.5 - -0.5 0 0.5.5 ] = [ 0 0 0 0.87 0.87 0 0 0] llustrte the dffcult wth usng hgher order polnomls to nterpolte modertel lrge number of ponts.

ELM Numercl Anlss Dr Muhrrem Mercmek 7 Dffcultes: Nos Strght Lne Emple 8: The dt = [ 0.00 0.0 0.80.00.0.90.00.0.95.00] = [ 0.0 0. 0.76.0.8.9.0.08.90.95] Not good wth nos strght lne. Newton polnoml coeffcents

ELM Numercl Anlss Dr Muhrrem Mercmek 8 Dffcultes: unge Functon Emple 9: f The functon 5 s n emple of the fct tht polnoml nterpolton does not produce good ppromton for some functons usng more functon vlues t evenl spced vlues does not necessrl mprove the stuton. = [ - -0.5 0.0 0.5.0 ] = [0.085 0.79.0000 0.79 0.085]

ELM Numercl Anlss Dr Muhrrem Mercmek 9 Dffcultes: unge Functon Emple 0: = [-.000-0.750-0.500-0.50 0.000 0.50 0.500 0.750.000 ] = [0.085 0.066 0.8 0.90.000 0.90 0.8 0.066 0.085] The nterpolton polnoml overshoots the true polnoml much more severel thn the polnoml formed b usng onl fve ponts. -9

ELM Numercl Anlss Dr Muhrrem Mercmek 0 Hermte Interpolton tonl-functon Interpolton Some of the contents re dopted from Lurene V. Fusett, Appled Numercl Anlss usng MATLAB. Prentce Hll Inc., 999

ELM Numercl Anlss Dr Muhrrem Mercmek Hermte Interpolton Hermte nterpolton llows us to fnd plonoml tht mtched both functon vlue nd some of the dervtve vlues

ELM Numercl Anlss Dr Muhrrem Mercmek Hermte Interpolton Emple :

ELM Numercl Anlss Dr Muhrrem Mercmek Dffcult Dt Emple : As wth lower order polnoml nterpolton, trng to nterpolte n humped nd flt regons brngs overshootngs.

ELM Numercl Anlss Dr Muhrrem Mercmek tonl-functon Interpolton Wh use rtonl-functon nterpolton? Some functons re not well ppromted b polnomls.rungefuncton but re well ppromted b rtonl functons, tht s quotents of polnomls.

Bulrsch-Stoer lgorthm Bulrsch-Stoer lgorthm The pproch s recursve, Gven set of m+ dt ponts,,, m+, m+, we seek n nterpolton functon of the form 5 ELM Numercl Anlss Dr Muhrrem Mercmek........................ m m m m m m m m m Bulrsch-Stoer pttern

ELM Numercl Anlss Dr Muhrrem Mercmek 6 Bulrsch-Stoer lgorthm Bulrsch-Stoer method for three dt ponts

Bulrsch-Stoer method for fve dt ponts Thrd stge 5 5 5 5 5 5 5 5 5 5 5 5 5 = 5 5 5 = = = = Second stge Frst stge dt Bulrsch-Stoer lgorthm 7 ELM Numercl Anlss Dr Muhrrem Mercmek

ELM Numercl Anlss Dr Muhrrem Mercmek 8 Bulrsch-Stoer lgorthm Forth stge Ffth stge 5 5 5 5 5 5 5 5 5 5 5 5

ELM Numercl Anlss Dr Muhrrem Mercmek 9 tonl-functon nterpolton Emple : dt ponts: = [- -0.5 0.0 0.5.0] = [0.085 0.79.0000 0.79 0.085]