



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!




STUDENT NAME:___________________________ PROCTOR:_____________________________
Place all your work in the spaces provided. No credit will be given unless all necessary work is shown. While you may use
Matlab or other software to check your answers, you must show detailed steps “by hand”. All calculations should be
carried out to four significant digits unless otherwise indicated. Point values are shown in parentheses.
I.(12)Consider the partially completed divided difference table below:
x f(x) 1DD 2DD 3DD 4DD
0.1 3.0 A 10.83 -34.72 C
0.4 3.5 6.0 -10.00 10.
0.5 4.1 3.0 B
0.7 4.7 1.
1.0 5.
A. What is the value of A?
B. What is the value of B?
C. What is the value of C?
D. Find the Newton form of the interpolating polynomial of minimum degree passing through x = 0.4, 0.5, 0.7,
and 1.0. Do not expand terms!.
II.(9)Find the Newton quadratic interpolating polynomial that approximates
f(x) = sin(x
) using evenly spaced points in the interval [p/6,p/2]. Using the additional value of f(2p/3), estimate
the error in using the approximation to find f(p/4). What is the true error at this point?
III.(9)Find the Lagrange form of the interpolating polynomial of degree 3 that approximates f(x) = ln(2x) on the
interval 1 x 2. Use evenly spaced points. Find a bound on the error in using this polynomial approximation
on the interval.
VI.(8)Based on the error bound, how many applications would be required to evaluate
/ 2
0
2 ( 1 sin )
p
x
dx
accurate to three decimals using the trapezoid rule?
VII.(8)Use Romberg integration to evaluate
/ 4
0
tan( )
p
x dx. Keep 6 decimals in your computations and
obtain the O(h
) estimate.
VIII.(6)Estimate the mean(average) value of the function f(x) =
x
1 x
on the interval 0<x<2 by a single
application of Simpson's 3/8 rule. Note: The average value of a function f(x) on an interval a x b is
b
a
f x dx
b a
IX.(9)Use 2,3, and 5 point Gaussian quadrature to evaluate
1 / 2
0
dx
x
x
. For each case, calculate the true %
error (the exact antiderivative is arcsin(x)- 1
2 x ) Keep six decimals in your calculations.
C. Estimate f"(1) by passing a cubic interpolating polynomial through -2,0,2,4 and differentiating.
XII.(8)Suppose that we want to find a numerical approximation to the derivative of f(x) = x
2 1 when x = 1.
Keeping only 4 significant digits in your function values, find f'(1) using first order forward differences as
follows. In each case, find the true % error.
A. h = 0.
B. h =.
C. h =.
D.Richardson extrapolation based on A and B.