Consider the IVP y' = \frac{1}{t^2} - \frac{y}{t} = y^2 with $t$ an element of $[1,2]$ and $y(1) = -1$. The exact solution is $y(t) = -1/t$
(a) How can we use Euler's method with $h = 0.05$ to approximate the solution & and compare it to actual values of $y$?
(b) Use answer in part (a), and linear interpolation to approx the following values of $y$ and compare also with actual values:
$y(1.052)$
$y(1.555)$
$y(1.978)$
I'm stuck at the euler setup in part (a), and also, with the portion of comparing errors. Can you work out for one of the values in part (b), so I can get it?