|
Posted: 10/25/23
Due: 11/06/23, 11:59PM
The basic idea in linear operator approximation is to apply the exact operator to an approximation of the input. These exercises explore and reinforce this concept.
Use Taylor series expansions to verify the approximations
Determine the error term. Construct the polynomial approximant whose derivative leads to the above formula. Conduct a convergence study as for at , and compare the observed order of convergence with the theoretical estimate.
As above for
Construct a recursive function RecInt(a,b,err,f,Q) that has arguments scalars and functions and approximates
through repeated application of quadrature rule according to the algorithm
Algorithm
Recursive quadrature
RecInt(a,b,err,f,Q)
if
return
else
return RecInt(a,c,err,f,Q)+RecInt(c,b,err,f,Q)
Test the recursive integration procedure with trapezoid, Simpson, and Gauss-Legendre rules of orders 2,3 on the integral
For each case, present plots of the integrand and the evaluation points used in the recursive quadrature algorithm. Construct convergence plots by executing the algorithm for various error thresholds and recording the number of evaluation points . Plot and comment on whether the observed order of convergence is that predicted by theoretical quadrature error estimates.
Use the finite difference expressions of the derivative
to obtain the approximations.
Conduct a convergence study as for at , and compare the observed order of convergence with theoretical estimates. How do the three functions differ, and what effect does this have on derivative approximation?
As above for
Use the series products
Romberg integration is a combination of trapezoid quadrature over decreasing subintervals and Aitken extrapolation. Implement Romberg integration and test on
Present a convergence sutdy. What is the observed order of convergence?