
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!

MATH 609-602 Numerical Analysis Program assignment # Numerical Integration and Richardson Extrapolation
Write a program for evaluation of the following integrals with an error of 0.00001 using composite trapezoidal rule and Richardson extrapolation technique by halving the integra- tion interval. This is the Romberg algorithm from pp. 541-543 of Kincaid and Cheney’s Numerical Analysis.
Specifications:
Computational examples
(1) Evaluate the following integrals: ∫ (^2)
0
x^2 exdx,
∫ (^3)
0
e−x
2 dx, 5(eπ^ − 2)−^1
∫ (^) π/ 2
0
e^2 xcosxdx.
(2) Use the program to plot the Bessel function of oder zero in the interval (0, 4):
J 0 (x) =
π
∫ (^) π
0
cos(xsint)dt.
Remark: There will be penalties for delay - for each day 5 points (out of 100).