Numerical Analysis Euler's Method

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: 573
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:
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top