Chapter 28: Problem 15
To solve the ordinary differential equation $$ \frac{d u}{d t}=f(u, t) $$ for \(f=f(t)\), the explicit two-step finite difference scheme $$ u_{n+1}=\alpha u_{n}+\beta u_{n-1}+h\left(\mu f_{n}+v f_{n-1}\right) $$ may be used. Here, in the usual notation, \(h\) is the time step, \(t_{n}=n h, u_{n}=u\left(t_{n}\right)\) and \(f_{n}=f\left(u_{n}, t_{n}\right) ; \alpha, \beta, \mu\), and \(v\) are constants. (a) A particular scheme has \(\alpha=1, \beta=0, \mu=3 / 2\) and \(v=-1 / 2\). By considering Taylor expansions about \(t=t_{n}\) for both \(u_{n+j}\) and \(f_{n+j}\), show that this scheme gives errors of order \(h^{3}\). (b) Find the values of \(\alpha, \beta, \mu\), and \(v\) that will give the greatest accuracy.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.