Kreizhn
- 714
- 1
Hey all,
I have a friend working in Earth Sciences who appears to be doing something with DEs. If I understand his data correctly, it appears as though he's solving a differential equation of the form
\frac{dy}{dx} = f(x)
Let [0,L] be the interval over which this is to be solved, y(0) = y_0 and take a partition 0 =x_0 < x_1 < \cdots < x_{n-1} < x_n = L. Then it appears that his differencing method is giving the approximation of the (i+1)^{st} value as
y(x_{i+1}) = \frac{ f(x_{i+1}) (x_{i+1} - x_i) - \left(\sum_{j=0}^i y(x_j)\right) (x_i - x_{i-1}) }{x_{i+1}}
I don't recognize the formula. The summation term would be theoretically reminiscent of an integral yes? Does anyone recognize this?
Edit: Sorry, that summation might actually only be y(x_i). I'm not quite sure yet since the data is a little fuzzy. If that's the case, this is almost an Euler method right? But it still doesn't quite seem there.
I have a friend working in Earth Sciences who appears to be doing something with DEs. If I understand his data correctly, it appears as though he's solving a differential equation of the form
\frac{dy}{dx} = f(x)
Let [0,L] be the interval over which this is to be solved, y(0) = y_0 and take a partition 0 =x_0 < x_1 < \cdots < x_{n-1} < x_n = L. Then it appears that his differencing method is giving the approximation of the (i+1)^{st} value as
y(x_{i+1}) = \frac{ f(x_{i+1}) (x_{i+1} - x_i) - \left(\sum_{j=0}^i y(x_j)\right) (x_i - x_{i-1}) }{x_{i+1}}
I don't recognize the formula. The summation term would be theoretically reminiscent of an integral yes? Does anyone recognize this?
Edit: Sorry, that summation might actually only be y(x_i). I'm not quite sure yet since the data is a little fuzzy. If that's the case, this is almost an Euler method right? But it still doesn't quite seem there.