Docsity

Applied Numerical Methods - Resolution for Homework 1 | MATH 151A, Assignments of Mathematics

Toggle sidebar
bg1
HOME WORK I
DUE : JANUARY/25/2006
Theoretical Part :
(1) Determine a formula which relates the number of iterations, n, required by
the bisection method to converge to within an absolute error tolerance of
ε, starting from the initial interval (a,b). (Hint : Use the Theorem 2 in my
note or Theorem 2.1 in the text book.)
(2) Show that when Newton’s method is applied to the equation x2−a= 0,
the resulting iteration function is g(x) = 1
2(x+a/x).
(3) Use the Bisection method to find p3for f(x) = √x−cos(x) on [0,1].
(4) The function f(x) = sin(x) has a zero on the interval (3,4), namely, x=π.
Perform three iterations of Newton’s method to approximate this zero, us-
ing p0= 4. Determine the absolute error in each of the computed approxi-
mations. What is the apparent order of convergence?
Computational Part :
(1) Apply the Newton’s method to find the solution to
x3−x−3 = 0
starting with p0= 0.Compute p1, p2, p3, p4, p5, p6and p7and compare pair
of numbers (p0, p4), (p1, p5), (p2, p6) and (p3, p7). What can you conclude
from this computations?
(2) Use the Bisection method to find solutions accurate to within 10−5(ab-
solute error) for ex−x2+ 3x−2 = 0 for 0 ≤x≤1.
(3) Find an approximation to √3 correct to within 10−4using the Bisection
method (Hint: Consider f(x) = x2−3.)
1

Partial preview of the text

Download Applied Numerical Methods - Resolution for Homework 1 | MATH 151A and more Assignments Mathematics in PDF only on Docsity!

HOME WORK I

DUE : JANUARY/25/

Theoretical Part : (1) Determine a formula which relates the number of iterations, n, required by the bisection method to converge to within an absolute error tolerance of ε, starting from the initial interval (a, b). (Hint : Use the Theorem 2 in my note or Theorem 2.1 in the text book.) (2) Show that when Newton’s method is applied to the equation x^2 − a = 0, the resulting iteration function is g(x) =^12 (x + a/x). (3) Use the Bisection method to find p 3 for f (x) = √x − cos(x) on [0, 1]. (4) The function f (x) = sin(x) has a zero on the interval (3, 4), namely, x = π. Perform three iterations of Newton’s method to approximate this zero, us- ing p 0 = 4. Determine the absolute error in each of the computed approxi- mations. What is the apparent order of convergence? Computational Part : (1) Apply the Newton’s method to find the solution to x^3 − x − 3 = 0 starting with p 0 = 0. Compute p 1 , p 2 , p 3 , p 4 , p 5 , p 6 and p 7 and compare pair of numbers (p 0 , p 4 ), (p 1 , p 5 ), (p 2 , p 6 ) and (p 3 , p 7 ). What can you conclude from this computations? (2) Use the Bisection method to find solutions accurate to within 10−^5 (ab- solute error) for ex^ − x^2 + 3x − 2 = 0 for 0 ≤ x ≤ 1. (3) Find an approximation to

3 correct to within 10−^4 using the Bisection method (Hint: Consider f (x) = x^2 − 3 .)

1