Last time | Next time |
Today:
This is your last "homework" to turn in; any other assignments will be part of your final takehome (thinking of 6.2, 6.3).
It turns out, however, that the degree of precision of Simpson's is even better -- it gets cubics right! That's because the error term is proportional to the fourth derivative.
This is called "adaptive integration", because we let the partition adapt to the function -- where the function is highly active, we take a finer partition; where it is boring, and relatively straight, we can take very big steps.
Details of the scheme, and the error analysis leading to adaptive quadrature in the case of the trapezoidal method, are on page 171.
How do we use the general method in this case?
(Compare to the method of "separation of variables", on page. )
"Galileo asserts that the period of a swinging pendulum (the time it takes to swing one way and back) is independent of the amplitude of the swing...."
One way is to approximate the DE!
I hope that you realize that we're just shooting a tangent line! :)
But the idea is really swell, and I am delighted by this method!
Here's another picture of how we might build one of these.