


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



We would like to find a root of the equation
f (x) = 0, for x ∈ R
given an initial interval [a, b] with
f (a) · f (b) < 0.
with a combination of two methods ▶ (^) bisection method, for its reliability ▶ (^) inverse quadratic interpolation (IQI) method, for its higher order of convergence.
Given three pairs of points (x 0 , f 0 ) , (x 1 , f 1 ) , (x 2 , f 2 ), IQI defines a quadratic polynomial in f that goes through these points,
x (f ) = (f^ −^ f^1 ) (f^ −^ f^2 ) (f 0 − f 1 ) (f 0 − f 2 )
x 0 + (f^ −^ f^0 ) (f^ −^ f^2 ) (f 1 − f 0 ) (f 1 − f 2 )
x 1 + (f^ −^ f^0 ) (f^ −^ f^1 ) (f 2 − f 0 ) (f 2 − f 1 )
x 2
This leads to an estimate for the root x 3 def = x (0):
x 3 = (^) (f f^1 f^2 0 −^ f 1 ) (f 0 −^ f 2 )^
x 0 + (^) (f f^0 f^2 1 −^ f 0 ) (f 1 −^ f 2 )^
x 1 + (^) (f f^0 f^1 2 −^ f 0 ) (f 2 −^ f 1 )^
x 2
For given initial interval [a, b] with f (a) · f (b) < 0.
We would like to find a root of the equation f (x) = 0, for x ∈ R