Math 152: Worksheet 12

Numerical Integration

Learning Problems

These problems should be completed on your own. If you need hints on solving a problem, there are some provided with each problem. Click on the word "hint" to view it and again to hide it. They go in increasing order of helpfulness, with the last hint mostly giving away how to do the problem. Try to work from the earlier hints to the later ones, as this will give you the practice you need to succeed in this class.

Problem 1

Calculate $M_6$ for the integral $\displaystyle \int_{-1}^2 e^{x^2}\ dx$. This should be a numerical answer (calculator required).

Problem 2

Calculate $T_5$ for the integral $\displaystyle \int_1^2 \sqrt{x^4 + 1}\ dx$ (calculator required).

Problem 3

Calculate $S_6$ for the integral $\int_1^4 e^{-x}\ dx$ and compare to the actual value of the integral.

Problem 4

Find the smallest value of $N$ for with the error in the Trapezoid rule in approximating the integral $\displaystyle \int_3^7 \frac{1}{x}\ dx $ is less than $10^{-6}$.

Problem 5

Find the smallest value of $N$ for with the error in the Simpsons rule in approximating the integral $\displaystyle \int_3^7 \frac{1}{x}\ dx $ is less than $10^{-6}$.

Submission Problems

Problem 1

Compute $S_6$ for the integral $\int_5^8 \sin\left(\frac{1}{x}\right)\ dx$.

Problem 2

Find a number $N$ so that the error in approximating the integral $\displaystyle \int_2^5 5x^4 - x^5\ dx$ by $M_N$ is less than $10^{-4}$.