Content deleted Content added
m →Illustration using the forward and backward Euler methods: one more bug |
|||
Line 17:
with the initial condition <math>y(0)=1.</math> Consider a grid <math>t_k=ka/n</math> for 0≤''k''≤''n'', that is, the time step is <math>\Delta t=a/n,</math> and denote <math>y_k=y(t_k)</math> for each <math>k</math>.
[[Discretization|Discretize]] this equation using the simplest explicit and implicit methods, which are the ''forward Euler'' and ''backward Euler '' methods (see [[numerical ordinary differential
:<math>\frac{y_{k+1}-y_k}{\Delta t} = - y_k^2</math>
yields
|