Carry out Computer Problem 9, but use the composite Simpson’s Rule instead of the composite… 1 answer below »

Carry out Computer Problem 9, but use the composite Simpson’s Rule instead of the composite Trapezoid Rule.

Computer Problem 9

For the integrals in Computer Problem 1, calculate the approximation error of the composite Trapezoid Rule for h = b − a,h/2,h/4,… ,h/28, and plot. Make a log–log plot, using, for example, Matlab’s loglog command. What is the slope of the plot, and does it agree with theory?

 

 

Looking for a Similar Assignment? Let us take care of your classwork while you enjoy your free time! All papers are written from scratch and are 100% Original. Try us today!