# Euler's Method - dy/dt = y^2-4t

## Homework Statement

dy/dt = y^2-4t - y(0) = 0.5 - 0 <_ t <_ 3.0 - Change in t = 0.5

I have to use Euler's method to make a table, but I'm not sure how to handle the t. I have only done it with y's and no other variables.

hunt_mat
Homework Helper
Eulers method is given as:

$$y_{i+1}=y_{i}+hy'(t_{i},y_{i})$$

So in your case the equation would be:

$$y_{i+1}=y_{i}+h(y_{i}^{2}-4t_{i})$$

Understand now?

I think, I just started putting the t's in for t and the y's for y.... So for the first line I got:
K: 0
t:0
y:0.5
dy/dt(t,y) = .25
Change in t*dy/dt(t,y) = .125

hunt_mat
Homework Helper
Looks okay to me.

Sweet, Thanks.