karush said:
Consider the IVP
$$y'=\frac{3t^2}{3y^2-4}, \quad y(1)=0$$
find estimates for t =0.1; 0.2; 0.4
using step sizes of h = 0.1; 0.05; and 0.025
using Euler's Method
ok ran out of time to do more steps but asume separation of variables is next
You are given the initial condition y(1)= 0. I'll show you one of these so maybe you can get on the right track.
To estimate y(0.4) with a step size of h = 0.1, you will need to make iterative estimates for y(0.9), y(0.8), y(0.7), y(0.6), and y(0.5) to ultimately reach an estimate for y(0.4). Also note the steps will be in a decreasing direction, i.e. $h = \Delta t = -0.1$, because you're moving from t = 1 to t = 0.4.
$y(0.9) \approx y(1) + y'(1) \cdot (\Delta t) = 0 + \dfrac{3(1^2)}{3(0^2)-4} \cdot (-0.1) = 0.075$
$y(0.8) \approx y(0.9) + y'(0.9) \cdot (\Delta t) = 0.075 + \dfrac{3(0.9^2)}{3(0.075^2)-4} \cdot (-0.1) = 0.1360073749$
... note the values get messy, so an iterative numerical program will make this process much easier. I have such a program in my old TI-83 ...
$y(0.7) \approx y(0.8) + y'(0.8) \cdot (\Delta t) = 0.1846826718$
$y(0.6) \approx y(0.7) + y'(0.7) \cdot (\Delta t) = 0.2223974446$
$y(0.5) \approx y(0.6) + y'(0.6) \cdot (\Delta t) = 0.2504376076$
$y(0.4) \approx y(0.5) + y'(0.5) \cdot (\Delta t) = 0.2701131293$
To check the estimate, solving the DE by separation of variables yields the equation $y^3-4y = t^3-1$
Using this equation, $t = 0.4 \implies y \approx 0.2373424609$. The estimate of y(0.4) using Euler differs by about 0.03. Use of a smaller $\Delta t$ will yield a closer estimate.