The Interpolation Method - Lecture Notes | AER E 161, Study notes of Aerospace Engineering

Material Type: Notes; Professor: Haugli; Class: NUM&GRAPHC&LAB TCNQ; Subject: AEROSPACE ENGINEERING; University: Iowa State University; Term: Spring 2005;

Typology: Study notes

Pre 2010

Uploaded on 09/02/2009

koofers-user-xkd
koofers-user-xkd 🇺🇸

1

(1)

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
D. Haugli, Lecturer Aer E 161 Aerospace Engineering
2/11/2005 The Interpolation Method, Page 1 Iowa State University
The Interpolation Method
Whereas the bisection method uses simple averaging between left and right bounds to estimate a
root, the interpolation (or “false-position method”) uses linear interpolation to obtain improved
estimates. Both methods are examples of bracketing methods.
Graphically, the interpolation method can be visualized by drawing a line between the left and
right guesses. As shown in Figure 1, the root, 0
x, is approximated where the line intersects the
x-axis. Note that the average of l
x and r
x would yield a value of 0
x much further from the root.
The interpolation method has the advantage of honing in on the root very quickly, and generally
requires fewer iterations than the bisection method.
Figure 1. A graphical depiction of the interpolation method.
The equation for 0
x can be derived as follows. Recall the linear interpolation formula,
()
1
12
12
1xx
xx
yy
yy
= (1)
Let l
xx =
1, and r
xx =
2. Noting that
()
xfy =, rewrite the formula as,
() ( ) () ()
()
l
lr
lr
lxx
xx
xfxf
xfxf
= (2)
pf2

Partial preview of the text

Download The Interpolation Method - Lecture Notes | AER E 161 and more Study notes Aerospace Engineering in PDF only on Docsity!

D. Haugli, Lecturer Aer E 161 Aerospace Engineering

2/11/2005 The Interpolation Method, Page 1 Iowa State University

The Interpolation Method

Whereas the bisection method uses simple averaging between left and right bounds to estimate a

root, the interpolation (or “false-position method”) uses linear interpolation to obtain improved

estimates. Both methods are examples of bracketing methods.

Graphically, the interpolation method can be visualized by drawing a line between the left and

right guesses. As shown in Figure 1, the root, x 0 , is approximated where the line intersects the

x-axis. Note that the average of xl and xr would yield a value of x 0 much further from the root.

The interpolation method has the advantage of honing in on the root very quickly, and generally

requires fewer iterations than the bisection method.

Figure 1. A graphical depiction of the interpolation method.

The equation for x 0 can be derived as follows. Recall the linear interpolation formula,

2 1

2 1 1 x x x x

y y y y − −

Let x 1 =xl, and x 2 =xr. Noting that y = f( )x , rewrite the formula as,

( l)

r l

r l l x x x x

f x f x f x f x − −

D. Haugli, Lecturer Aer E 161 Aerospace Engineering

2/11/2005 The Interpolation Method, Page 2 Iowa State University

Since at the root, x 0 , the function is zero, substitute x = x 0 and set f ( )x = f( x 0 ) = 0 and solve

Equation (2) to obtain,

( r) ( l)

l r l l f x f x

f x x x x x −

which replaces the average equation in the bisection method.