Changes between Version 10 and Version 11 of u/erica/truncerror


Ignore:
Timestamp:
08/28/13 14:52:22 (11 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/truncerror

    v10 v11  
    1616with the centered (2nd order, as can be verified by above discussion) finite different approximation D2,
    1717
    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)]$)]]
     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}] $)]]
    1919
    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
     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 have
    2121
    2222[[latex($\frac{1}{h^2}[u(x_i+h)+u(x_i-h)-2u(x_i)] = f(x_i)$)]]
     
    9191
    9292
    93