Question 1
Use Romberg integration to approximate the integral of f(x) = cos(x) on the interval [0, 3] and iterate until εstep < 1e-5 or N = 10. Begin with an interval width of with h = 3.
Answer: 0.141120007827708
Question 2
Use Romberg integration to approximate the integral of f(x) = x5 on the interval [0, 4].
Answer: 682.666666666667 (you should have gotten a zero difference at the last step)
Copyright ©2005 by Douglas Wilhelm Harder. All rights reserved.