Evaluate the area under the curve of f(x) = x2 + 7 from x = -1 to x = 5
Compare the answer provided by the 3 algorithms (Newton, Simpson, and Romberg) for the following precisions and iterations
Precision Iterations
10E-5 10 20 50
10E-6 10 20 50
10E-7 10 20 50
10E-8 10 20 50
Integrate f(x) = x from 2 to 6 using Newton, Simpson, and Romberg for each of the precisions listed for Exercise 3. Record the number of iterations required to attain that precision, along with the answers. Compare the answer with the exact answer and list the delta. Do the results agree with what you expected?