

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: NUMERICAL METHODS; Subject: MATHEMATICS; University: Texas A&M University; Term: Unknown 1989;
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Instructor: Prof. Wolfgang Bangerth [email protected], Teaching Assistants: Dukjin Nam [email protected]
Problem 1 (Bisection method). A ball is dropped from a tower. During its fall it is subject to the forces of gravity and air resistance. Thus, the height h in f t as a function of time t in s is given by the formula
h(t) = h 0 −
mg k
t +
m^2 g k^2
1 − e−^
ktm^ ) .
Here, h 0 = 300f t is the height of the tower, m = 1/ 2 lb the mass of the ball, g = 32. 17 f t/s^2 is the gravitation of earth and k = 1/ 4 lb s/f t is the air resistance coefficient. Use the bisection method (on paper, with pen and calculator) to find out when the ball hits the ground with an accuracy of 0.1 seconds. (6 points)
Problem 2 (Newton’s method). For certain functions, Newton’s method will always converge in a single step, no matter where we start. What functions are these, and why is a single step enough? (Hint: Think about the graphical interpretation of Newton’s method, and when it will produce a new iteration that falls exactly onto the true root of the function.) (2 points)
Problem 3 (Newton’s method). For functions f (x) of one variable x, New- ton’s method almost always converges very quickly (in a matter of a few itera- tions). However, almost always is not always, and we can find examples where Newton’s method converges rather slowly. Write a program to find the zero x = 1 of the function f (x) = x^25 − 1
that uses Newton’s method and starts at x 0 = 20.
(a) How many iterations do you need to achieve an accuracy of 10−^8?
(b) You will observe very slow convergence. Can you explain from the formulas that express the error en as a function of en− 1 why convergence is so slow? (c) Does the method still converge of second order, i.e. is the relationship between en and en+1 derived in class true also for this problem? (d) What answers do you get to the questions in (a)–(c) if you apply the same program to the function f (x) = x^3 − 1 instead, again starting from x 0 = 20? (8 points)
Problem 4 (Fixed-point iteration). Let a be a positive number and
g(x) = 2x − ax^2.
(a) Show that the limit of this fixed-point iteration is either 0 or 1/a.
(b) This iteration gives us a means to compute the reciprocal value of a using only multiplication and subtraction. Find (analytically) an interval con- taining 1/a in which this iteration converges to 1/a. (4 points)