The heat released by a reaction whose power rises as kW
PHYSICS · Multi-part · Fermi University Physics · Mathematical Methods for Physics · Numerical and computational mathematics · Numerical and computational mathematics
Error, Chance and the Machine, Ch Integration: error expansions, Gauss rules and adaptivity
Problem
The heat released by a reaction whose power rises as q(t)=et kW, with t in hours, over the first hour is I=∫01etdt kWh, and its exact value is e−1=1.7182818 kWh. Let Q1 be Simpson's rule on the whole interval [0,1] (three points) and Q2 the sum of Simpson's rule on [0,21] and on [21,1] (five points).
((a)) Compute Q1 and Q2.
((b)) Form the estimate (Q2−Q1)/15 of I−Q2 from Eq. (5.26) and compare it with the true value of I−Q2. Give the corrected value Q2+(Q2−Q1)/15 and its error, as value minus exact value.
((c)) An adaptive code uses the test ∣Q2−Q1∣<15ϵtol on this interval. Does it accept with ϵtol=10−4 kWh? With ϵtol=10−5 kWh?
((d)) State the one assumption behind the estimate, say whether it holds here, and name a feature of an integrand that would make the estimate misleading.