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

  • #1
killersanta
63
0

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.
 

Answers and Replies

  • #2
hunt_mat
Homework Helper
1,760
27
Eulers method is given as:

[tex]
y_{i+1}=y_{i}+hy'(t_{i},y_{i})
[/tex]

So in your case the equation would be:

[tex]
y_{i+1}=y_{i}+h(y_{i}^{2}-4t_{i})
[/tex]

Understand now?
 
  • #3
killersanta
63
0
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
 
  • #4
hunt_mat
Homework Helper
1,760
27
Looks okay to me.
 
  • #5
killersanta
63
0
Sweet, Thanks.
 

Suggested for: Euler's Method - dy/dt = y^2-4t

Replies
3
Views
569
Replies
3
Views
76
Replies
21
Views
820
Replies
2
Views
2K
Replies
3
Views
545
Replies
24
Views
349
  • Last Post
Replies
25
Views
492
Replies
12
Views
383
Replies
2
Views
147
Top