Numerical Methods
Numerical Methods
1 Bisection Method
a) Find a positive root of
ra
accurate to two significant figures. Use a hand calculator.
ish
b) Determine the formula
log(b0 −a0 ) −log −log a0
n≥ log 2
−1
involving a0 − b0 , and for the number of steps that should be taken in the bisection
a0 ≥ 0.
M
algorithm to ensure that the root is determined with relative accuracy ≤ . Assume
c) Find an interval of unit length which contains the smallest positive root of the equation
x3 − 5x − 1 = 0. Hence, determine the number of iterations required by the bisection
a
method so that |error| < 10−3 .
et
d) Let cn = 12 (an + bn ), r = limn→∞ cn and en = r − cn . Here [an , bn ], with n ≥ 0,
denote the successive intervals that arise in the bisection method when it is applied to
ik
a continuous function f .
i) Show that |en | ≤ 2−n (b1 − a1 ).
ch
p(x) = 4 x3 − 2 x2 + 3
ra
d) Devise a Newton algorithm for computing the 5th root of any real positive number.
ish
e) Prove that Newton’s iteration will diverge for these functions, no matter what ( real )
starting point is selected.
i) f (x) = x2 + 1.
3
ii) f (x) = 7 x4 + 3 x2 + π.
b) Prove that the formula for the secant method can be written in the form
ch
c) Using Newton-Raphson, secant & regula-falsi method find the root of the function
f (x) = 3x − sin x − ex , correct to three decimal places. Discuss about the number of
iterations required for each and rank them as per the performance with justification.
c) Find the interval of unit length which contains the smallest negative root in magnitude
of the equation 2x3 + 3x2 + 2x + 5 = 0. Using the end point of this interval as initial
approximations, perform four iterations of the regula-falsi method.
4 Fixed points & functional iteration
a) If we attempt to find a fixed point of F by using Newton’s method on the equation
F (x) − x = 0, what iteration formula results?
c) Write down two different fixed-point procedures for finding a zero of the function
f (x) = 2 x2 + 6 e−x − 4.
ra
d) If the method of functional iteration is used on F (x) = x2 + x + 2 and produces a
convergent sequence of positive numbers, what is the limit of that sequence and what
was the starting point?
ish
e) A student incorrectly recalls Newton’s method and writes
f 0 (xn )
xn+1 =
M f (xn )
END