Changes between Version 9 and Version 10 of u/erica/truncerror
- Timestamp:
- 08/28/13 14:50:25 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/truncerror
v9 v10 14 14 [[latex($\frac{d^2 u}{dx^2} = f(x)$)]] 15 15 16 with the centered (2nd order, as can be verified by above discussion) finite different approximation ,16 with the centered (2nd order, as can be verified by above discussion) finite different approximation D2, 17 17 18 [[latex($ \frac{1}{h}[\frac{u(x+h)-u(x)}{h} - \frac{u(x-h)-u(x)}{-h}] = \frac{1}{h^2}[u(x+h)+u(x-h)-2u(x)]$)]]18 [[latex($D2 = \frac{1}{h}[\frac{u(x+h)-u(x)}{h} - \frac{u(x-h)-u(x)}{-h}] = \frac{1}{h^2}[u(x+h)+u(x-h)-2u(x)]$)]] 19 19 20 20 (which is easily interpreted as the finite difference version of the derivative of the derivative). Using this, and replacing the function f and the (approximate) solution u with their discrete forms, we have