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

Click For Summary

Homework Help Overview

The discussion revolves around applying Euler's method to solve the differential equation dy/dt = y^2 - 4t, with initial conditions and a specified step size. Participants are exploring how to incorporate both the variable t and the function y in their calculations.

Discussion Character

  • Exploratory, Mathematical reasoning

Approaches and Questions Raised

  • The original poster expresses uncertainty about handling the variable t in the context of Euler's method, having previously only worked with y values. Some participants provide the formula for Euler's method and clarify how to substitute values for t and y in the calculations.

Discussion Status

Participants are actively discussing the application of Euler's method, with some guidance provided on the formula and initial substitutions. There is a sense of progress as the original poster begins to apply the method, but no consensus or final outcome has been reached.

Contextual Notes

The original poster is working within the constraints of a homework assignment, which may limit the information they can use or the methods they can apply. The specific range for t and the step size are noted as part of the problem setup.

killersanta
Messages
63
Reaction score
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.
 
Physics news on Phys.org
Eulers method is given as:

<br /> y_{i+1}=y_{i}+hy&#039;(t_{i},y_{i})<br />

So in your case the equation would be:

<br /> y_{i+1}=y_{i}+h(y_{i}^{2}-4t_{i})<br />

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
 
Looks okay to me.
 
Sweet, Thanks.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
12
Views
2K
Replies
5
Views
2K
Replies
7
Views
2K
Replies
7
Views
2K
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
5K
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K