2
$\begingroup$

Below is a problem I recited from an exam I took. I wasn't able to solve it on time. Could someone show me how to simplify it?

If $$f(t,y(t)) = y'(t)$$ $$y'(t) = -\lambda y(t)$$ where $\lambda$ is a positive constant.

$$y_{n+1} = y_{n} + \frac{h}{2}(f(t_n,y_n) + f(\frac{2}{3}h + t_{n},y_{n} +f(t_{n-1},y_{n-1})))$$

2 Answers 2