Chapter 16: Problem 6
(a) Show that the explicit trapezoidal method for \(y^{\prime}=f(y)\) is second order accurate. (b) Show that the explicit midpoint method for \(y^{\prime}=f(y)\) is second order accurate. [Hint: You need to compare derivatives of \(y\) with their expressions in terms of \(f\) and show that terms that are not \(\mathcal{O}\left(h^{2}\right)\) cancel in the expression for \(d_{i} .\) Use the identities \(y^{\prime}=f\) and \(\left.y^{\prime \prime}=\frac{\partial f}{\partial y} y^{\prime}=f_{y} f .\right]\)
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.