Changes between Version 14 and Version 15 of u/erica/truncerror
- Timestamp:
- 08/28/13 14:56:44 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/truncerror
v14 v15 31 31 Now if we replace the approximate solution with the exact solution (U) in the discrete equation above, the left and right hand sides in general will not be exactly the same. This difference is the LTE, and can be written as, 32 32 33 [[latex($\tau = \frac{1}{h^2}[U(x_i+h)+U(x_i-h)-2U(x_i)] - f(x_i)$)]]33 [[latex($\tau_i = \frac{1}{h^2}[U(x_i+h)+U(x_i-h)-2U(x_i)] - f(x_i)$)]] 34 34 35 35 Replacing terms with their Taylor series indicates,