Changes between Version 3 and Version 4 of u/erica/truncerror
- Timestamp:
- 08/27/13 19:38:15 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/truncerror
v3 v4 20 20 [[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)]$)]] 21 21 22 (which is easily interpreted as the finite difference version of the derivative of the derivative). With th ese, and replacing the functions with discrete versions of the functions, we have22 (which is easily interpreted as the finite difference version of the derivative of the derivative). With this, and replacing the functions with discrete versions of the functions, we have 23 23 24 [[latex($\frac{ d^2 u}{dx^2} = f(x)$)]]24 [[latex($\frac{1}{h^2}[u(x_i+h)+u(x_i-h)-2u(x_i)] = f(x_i)$)]] 25 25 26 26 27 and discretize the functions over some finite number of grid points:27 This is a system of equations over a 1D interval. and discretize the functions over some finite number of grid points: 28 28 29 29 with the finite difference version