Changes between Version 12 and Version 13 of u/erica/truncerror
- Timestamp:
- 08/28/13 14:54:40 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/truncerror
v12 v13 18 18 [[latex($D2 = \frac{1}{h^2}[u(x+h)+u(x-h)-2u(x)]= \frac{1}{h}[\frac{u(x+h)-u(x)}{h} - \frac{u(x-h)-u(x)}{-h}] $)]] 19 19 20 (written so to illustrate it 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 have20 (written so to illustrate it as the finite difference version of the derivative of the derivative). Using this, and discretizing, we have 21 21 22 22 [[latex($\frac{1}{h^2}[u(x_i+h)+u(x_i-h)-2u(x_i)] = f(x_i)$)]]