Using Step Refinement to Control Integration Error

A MATLAB program integrates a smooth power signal over a fixed time interval to estimate transferred energy. The program uses the composite trapezoidal rule with uniform time step hh.


Two runs give E(0.4 s)=12.8 JE(0.4\ \text{s})=12.8\ \text{J} and E(0.2 s)=12.2 JE(0.2\ \text{s})=12.2\ \text{J}. For this calculation, assume the following error model is exact over the step sizes considered:


E(h)=E∗+Ch2,E(h)=E_*+Ch^2,


where E∗E_* is the underlying energy and CC is an unknown constant shared by both runs.


Find the extrapolated estimate, the value of E∗E_* inferred by removing the modelled step-size error. Also find the absolute error of the 0.2 s0.2\ \text{s} result and the largest positive step size predicted to keep the absolute error at or below 0.05 J0.05\ \text{J}.


Report the extrapolated energy and absolute error in joules to two decimal places. Report the largest step size in seconds to three decimal places.

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Applications in Numerical Analysis Questions: