Next: About this document ...
Ceng 375 Numerical Computing
Midterm
Nov 30, 2007 12.40-14.30
Good Luck!
- (40 pts) Consider the function:
Plot of the function is given at the following figure;
- i
- (20 pts) Use three iterations of Newton's method to estimate only one of the roots of this function.
Hint:
- ii
- (10 pts) Estimate the error in your answer to part i.
- iii
- (10 pts) Approximately how many iterations of the bisection method would have been required to achieve the same error?
Hint: Take the interval as ((initial+1)-initial)
- (40 pts) The following table and figure are given as the population growth of Turkey between years of 1927 and 2000
- iv
- (10 pts) What is the relationship that the graph suggests? Use least squares method to find out the necessary parameters of this suggested formula.
- v
- (5 pts) Estimate the population at the years of 1995, 2007 and 2010 with least squares method.
- vi
- (10 pts) Fit a cubic (
) polynomial to the given data.
- vii
- (5 pts) Estimate the population at the years of 1995, 2007 and 2010 with fitted polynomial.
- viii
- (10 pts) Compare your results for both least squares and interpolated polynomial methods.
- (40 pts) For the given data points;
- (20 pts) Write out the Lagrangian polynomial from this table
- ix
- confirm that it reproduces the
's for each
-value.
- x
- interpolate with it to estimate
at
.
- xi
- extrapolate with it to estimate
at
.
- (10 pts) Suppose in previous item that the
-value for
is mistakenly entered as
rather than
. Repeat the previous item with this incorrect value. How much difference does this make?
- (10 pts) Expand the Lagrangian polynomials in the previous items to get the quadratics in the form
. How different are the values for
,
, and
?
Next: About this document ...
Cem Ozdogan
2008-01-04