Midterm Exam for Math 128A (Section 3) - Fall 2002, Exams of Mathematical Methods for Numerical Analysis and Optimization

The midterm exam for math 128a (section 3) from the fall 2002 semester. The exam covers various topics in mathematics, including the use of newton's method, cubic lagrange interpolating polynomials, fixed point iteration, and clamped cubic splines. Students are expected to solve problems related to these topics.

Typology: Exams

Pre 2010

Uploaded on 10/01/2009

koofers-user-pda-1
koofers-user-pda-1 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Midterm Exam
Math 128A (Section 3) - Fall 2002
Problem 1) Can Newton method be used to solve f(x)=(x3)1/2= 0 given an initial approximation
p0= 4? Explain why.
Problem 2) Consider function f(x) = sin(x) on the interval [0,1] on equally spaced nodes. If his the
spacing between the nodes Determine the size of hyou need so that the cubic Lagrange
interpolating polynomial approximates f(x) with an accuracy of 105, i.e. |E3(x)| 105for
any x[0,1].
Problem 3) Let g(x) = 3x48x3+ 6x2.
Part a) Show that p= 0 and ˆp= 1 are fixed points of the function g(x).
Part b) Assume that you used fixed point iteration with some initial approximation p0which
was sufficiently close to p= 0 so that the sequence of approximations p0,p1, p2, ... you
generated converges to the fixed point p= 0. Derive what will be the order of convergence
of this sequence.
Part c) Assume that you used fixed point iteration with some initial approximation ˆp0which
was sufficiently close to ˆp= 1 so that the sequence of approximations ˆp0,ˆp1,ˆp2, ... you
generated converges to the fixed point ˆp= 1. Derive what will be the order of convergence
of this sequence.
Problem 4) Show that any third-degree polynomial f(x) = a0+a1x+a2x2+a3x3is its own clamped cubic
spline on any closed interval [a, b]. Hint: use uniqueness of a clamped cubic spline interpolating
a function f(x) on a given set of nodes.
Problem 5) Suppose real numbers are represented with a 5-bit mantissa and a 3-bit characteristic.
Part a) How many positive real numbers such representations system contains?
Part b) What is the magnitude of a maximum number that can be represented with this system?

Partial preview of the text

Download Midterm Exam for Math 128A (Section 3) - Fall 2002 and more Exams Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Midterm Exam Math 128A (Section 3) - Fall 2002

Problem 1) Can Newton method be used to solve f (x) = (x − 3)^1 /^2 = 0 given an initial approximation p 0 = 4? Explain why.

Problem 2) Consider function f (x) = sin(x) on the interval [0, 1] on equally spaced nodes. If h is the spacing between the nodes Determine the size of h you need so that the cubic Lagrange interpolating polynomial approximates f (x) with an accuracy of 10−^5 , i.e. |E 3 (x)| ≤ 10 −^5 for any x ∈ [0, 1].

Problem 3) Let g(x) = 3x^4 − 8 x^3 + 6x^2.

Part a) Show that p = 0 and ˆp = 1 are fixed points of the function g(x). Part b) Assume that you used fixed point iteration with some initial approximation p 0 which was sufficiently close to p = 0 so that the sequence of approximations p 0 , p 1 , p 2 , ... you generated converges to the fixed point p = 0. Derive what will be the order of convergence of this sequence. Part c) Assume that you used fixed point iteration with some initial approximation ˆp 0 which was sufficiently close to ˆp = 1 so that the sequence of approximations ˆp 0 , pˆ 1 , pˆ 2 , ... you generated converges to the fixed point ˆp = 1. Derive what will be the order of convergence of this sequence.

Problem 4) Show that any third-degree polynomial f (x) = a 0 +a 1 x+a 2 x^2 +a 3 ∗x^3 is its own clamped cubic spline on any closed interval [a, b]. Hint: use uniqueness of a clamped cubic spline interpolating a function f (x) on a given set of nodes.

Problem 5) Suppose real numbers are represented with a 5-bit mantissa and a 3-bit characteristic.

Part a) How many positive real numbers such representations system contains? Part b) What is the magnitude of a maximum number that can be represented with this system?