MATH 661.FA23 Midterm Examination 2

Solve the problems for your appropriate course track. Problems probe understanding of the definitions and results from the module on function approximation through linear combination. Formulate your answers clearly, cogently, and include a concise description of your approach. Each question is meant to be completely answered within ten minutes. Allowed test time is 75 minutes.

1Track 1

  1. Construct the polynomial interpolant of data 𝒟={(-1,-6),(0,-1),(1,-2),(2,-3)} in Lagrange form.

  2. Construct the Newton form of the polynomial interpolant of the above data set, presenting the table of divided differences.

  3. Efficiently evaluate the Newton form of the polynomial interpolant determined above at t=2, using Horner's scheme. Present a pseudo-code algorithm.

  4. Replace the sampling points xi=-1+i, i=0,..,3 in the data set 𝒟 so as to minimize the interpolation error over the interval [1,4].

2Track 2

  1. Construct the Hermite interpolant of data 𝒟={(xi,yi=f(xi),yi'=f'(xi)),i=0,1}={(-1,-6,10),(0,-1,1)} in Newton form.

  2. Construct the Hermite interpolant of the above data in the Lagrange form

    p(t)=i=0n[ai(t)yi+bi(t)yi'],

    where ai(xj)=δij, ai'(xj)=0, bi'(xj)=δij, bi(xj)=0.

  3. Present a spline interpolant S of data set 𝒟={(xi=ih,yi=f(xi)),i=0,..,n}, h=1/n, where the restriction of S to interval [xi-1,xi] is of the form

    Si(t)=ai+biet+cie-t.
  4. Find the best inf-norm approximants of f:[0,π/2], f(t)=cost by polynomials of degree n=0,1,2.