1. Compare the accuracy of an adaptive quadrature based on Simpson's method to an adaptive quadrature based on the rectangle method for the integral given in the previous problem.
2. Answer the previous question for the function y = sin x.
3. Give a specific example of a function for which adaptive quadrature would be likely to give a drastically more accurate result than the other methods.