How is the solution for y[n+1] obtained using Euler's forward method?

  • Thread starter Thread starter ChickenChakuro
  • Start date Start date
  • Tags Tags
    Euler
ChickenChakuro
Messages
31
Reaction score
0
Hi all, I'm having trouble understanding a basic concept introduced in one of my lectures. It says that:

To solve the DE
y(t) + \frac{dy(t)}{dt} = 1 where y(t) = 0,

using the Euler (forward) method, we can approximate to:

y[n+1] = T + (1-T)y[n] where T is step size and y[0] = 0.

I have no idea how this result is obtained, the only thing they say is that in general for

\frac{dx_1}{dt} = \frac{x_1[n+1] - x_1[n]}{T} for t = nT.

Can anyone please help me understand how they arrived at the solution for y[n+1]? Thanks!
 
Physics news on Phys.org
Bah, it is simple plug-and-chug. Should have known! Thanks!
 
Four minutes! You didn't even give us a chance to explain!
 
There is the following linear Volterra equation of the second kind $$ y(x)+\int_{0}^{x} K(x-s) y(s)\,{\rm d}s = 1 $$ with kernel $$ K(x-s) = 1 - 4 \sum_{n=1}^{\infty} \dfrac{1}{\lambda_n^2} e^{-\beta \lambda_n^2 (x-s)} $$ where $y(0)=1$, $\beta>0$ and $\lambda_n$ is the $n$-th positive root of the equation $J_0(x)=0$ (here $n$ is a natural number that numbers these positive roots in the order of increasing their values), $J_0(x)$ is the Bessel function of the first kind of zero order. I...
Are there any good visualization tutorials, written or video, that show graphically how separation of variables works? I particularly have the time-independent Schrodinger Equation in mind. There are hundreds of demonstrations out there which essentially distill to copies of one another. However I am trying to visualize in my mind how this process looks graphically - for example plotting t on one axis and x on the other for f(x,t). I have seen other good visual representations of...

Similar threads

Back
Top