CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

CoCalc is a real-time collaborative commercial alternative to JupyterHub and Overleaf that provides Jupyter Notebooks, LaTeX documents, and SageMath.

| Download

Aaron Tresham Calculus Materials - Feb 2018 snapshot

Views: 8489

Numerical Integration Assignment

Question 0

Watch the lecture video here.

Did you watch the video? [Type yes or no.]

Question 1

The Golden Gate Bridge has a main span of 4,200 feet (the distance between the two towers). The main suspension cables that support the road over this span each form a parabolic shape. The length of each cable is found by Length=0212001+0.000577x2dx\mathrm{Length}=\int_0^{21}200\sqrt{1+0.000577x^2}\, dx

Part a

Approximate the value of this integral using left and right Riemann sums, the Midpoint Rule, the Trapezoidal Rule, and Simpson's Rule using n=10n=10, n=20n=20, and n=30n=30.

Part b

The actual value of this integral is approximately 4371.874371.87. Observe how close each approximation comes to the right answer. In particular, notice how accurate Simpson's Rule proves to be, even though these values of nn are relatively small.

Question 2

Consider the integral 11.411x2dx\int_{-1}^{1.41}\frac{1}{x^2}\, dx

Part a

Use the Midpoint Rule with n=10n=10, n=50n=50, n=100n=100, and n=500n=500 to approximate this integral.

Part b

You should see your answers jump around as nn increases (watch out for scientific notation when n=100n=100).

The function 1x2\frac{1}{x^2} is unbounded at x=0x=0 (we'll learn more about so-called "improper integrals" later this semester). This integral is infinite, so approximation won't work.

Question 3

Consider the function f(x)=x5e2x\displaystyle f(x)=x^5e^{-2x} over the interval [2,2][-2,2].

[Caution: Don't forget parentheses: e^(-2*x)]

Part a

Approximate the area under this curve using the Midpoint Rule, Trapezoidal Rule, and Simpson's Rule using n=100n=100, n=200n=200, and n=400n=400.

Part b

Rounding to one decimal place, this area is actually 363.2-363.2. Notice that Simpon's Rule is correct for all three values of nn, but the Midpoint Rule is correct only for n=400n=400, and the Trapezoidal Rule is not correct for any of these values of nn.

Question 4

Approximate 100010001x2+1dx\displaystyle\int_{-1000}^{1000}\frac{1}{x^2+1}\,dx using Simpson's Rule. Hint: The interval width is 2,000, so pick an appropriate number of subintervals (nn needs to be several thousand).

What well-known number is this close to?

This material was developed by Aaron Tresham at the University of Hawaii at Hilo and is Creative Commons License
licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.