Numerical Integration Assignment

Due Thursday, April 18, 2002

Implement three additional numerical integration techniques in the Integrate.java program:

Changes you need to make include:

Use your program to answer the following questions:

  1. Do parts (b), (c), and (d) of Computer Problem 8.1 (page 878). For part (c) you will use your Adaptive Simpson rather than a "library" routine. In characterizing the error for part (b) -- Romberg -- compare the error as you go down a column versus going across rows. Be sure to do all the things requested. The graph you are requested to draw is similar to the example handed out.
  2. Use your Adaptive Simpson on the function f(x) = (100/x2sin(10/x) on [1,3]. Compare your results to those in the picture.
  3. Do parts (b), (c), and (d) for Computer Problem 8.2.

Hand In: A printout of your final program and your answers to the questions. Email a copy of your program to ingram@cs.roanoke.edu.