Numerical Analysis Euler's Method

Click For Summary

Homework Help Overview

The discussion revolves around applying Euler's Method to a system of differential equations involving both dy/dx and dz/dx. The original poster, Maya, presents initial conditions and a specified step size for the calculations.

Discussion Character

  • Exploratory, Mathematical reasoning

Approaches and Questions Raised

  • Maya expresses confusion regarding the inclusion of two variables in the differential equations and seeks clarification. Other participants suggest performing Euler calculations using the provided equations and initial values.

Discussion Status

Some participants have provided guidance on how to approach the calculations, specifically by suggesting the use of the initial values to compute the derivatives. There appears to be a productive exchange, with Maya indicating she has gained understanding from the responses.

Contextual Notes

The problem involves specific initial conditions and a defined range for x, which may influence the calculations. Maya's initial uncertainty highlights the complexity of handling multiple variables in differential equations.

mayaitagaki
Messages
8
Reaction score
0
Please help me with this problem! I have no clue. I know how to deal with only dy/dx. But this includes dy/dx and dz/dx...:cry:
Please see the attachment :)

Step size h = 0.2
range x = 0 to 1
y(0) = 2
z(0) = 4

Thank you,
Maya
 

Attachments

  • 25.7.JPG
    25.7.JPG
    47.2 KB · Views: 588
Physics news on Phys.org
What don't you get?
 
Just do two Euler calculations.

Since the d.e. are
\frac{dy}{dx}= -2y+ 4e^{-x}
and
\frac{dz}{dx}= -\frac{yz^2}{3}

use the given initial values x= 0, y= 2, and z= 4 to calculate the two right sides:
\frac{dy}{dx}= -2(2)+ 4e^{0}= -4+ 4= 0
and
\frac{dz}{dx} -\frac{(2)(16){3}= \frac{32/3}= -10.66666...<br /> <br /> Since h= .2, x= 0+ h= 0+ .2= .2, y= 2+ (dy/dx)h= 2 - 0= 2, z= 4+ (dz/dx)h= 4- 2.133333= 1.8666668. <br /> <br /> and repeat.
 
thanks sooooo much! I've got it!
:smile:
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K