[CSC 335] Section 4.6 Problem 2

Andrew J. Pounds pounds_aj at mercer.edu
Sun Oct 20 09:27:09 EDT 2013


On 10/18/13 22:51, Levi M Mitze wrote:
> Hi, Dr. Pounds.
>
> Am I mistaken in thinking that both 4.6.2.a and 4.6.2.e are already 
> solved by 4.6.1.a and 4.6.1.e?
>
> For both, calculating S(a,b), S(a,(a+b)/2), and S((a+b)/2, b) then 
> plugging them into inequality 4.38 with epsilon equaling 10e-3 results 
> in the inequality being true.
>
> Levi

They are not the same -- but they do go together.  In problem 1 you are 
simply calculating the value of integral over the two half-intervals 
using Simpsons rule.     No tolerance is set.

In question 2 you use your prior results, but now actually apply the 
method of adaptive quadrature to solve the integrals to the requested 
tolerance.

-- 
Andrew J. Pounds, Ph.D.  (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627
http://faculty.mercer.edu/pounds_aj

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20131020/722efd04/attachment.html>


More information about the csc335 mailing list