Chapter 14: Problem 14
Using the centered difference \(h^{-2}\left(f\left(x_{i+1}\right)-2 f\left(x_{i}\right)+f\left(x_{i-1}\right)\right)\), construct an \((n-2) \times n\) differentiation matrix, \(D^{2}\), for the second derivative of \(f(x)=e^{x} \sin (10 x)\) at the points \(x_{i}=\) \(i h, i=1,2, \ldots, n-1\), with \(h=\pi / n .\) Record the maximum absolute error in \(D^{2} \mathbf{f}\) for \(n=\) \(25,50,100\), and 200. You should observe \(\mathcal{O}\left(n^{-2}\right)\) improvement. Compare these results against those obtained using the Chebyshev differentiation matrix, as recorded in Figure \(14.5\).
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.