This GUI demonstrates the numerical intergration of an improper
integral using different methods:
The convergence plot of these methods is shown with error
vs. number of function evaluations. The integral used for the
- Trapezoidal Rule (not implemented here since the function f used is not defined at x=0; this serves as an example to show that closed Newton-Cotes formulas cannot be applied for the particular example).
- Midpoint Rule, the simplest open Newton-Cotes formula.
- Midpoint Rule with regularisation.
- Gauss Qaudrature with special points.
Int (cos(x)/sqrt(x)) dx
Limits of integration used are from 0 to 1. Note that the
integrand approaches infinity at x=0, the integral is thus
After unzipping, please start the program with improper_int.
This file was written by Faisal Baig, with financial support by the Self-Study Online project of the University of Stuttgart.