First order differentials & euler's method

raincheck
Messages
38
Reaction score
0
I'm having trouble solving first order differential equations for euler's method.

right now I'm trying to figure out: y' = x + y y(0) = 1

i have: dy/dx - y = x
p(x)=-1 , q(x)=x

u=e^(-x)

y=e^x [integral](xe^-x)dx

.. i don't think I'm doing this right, where am i going wrong?

[sorry about not using the right symbols & thank you!]
 
Last edited:
Physics news on Phys.org
I thought Euler's method was to do it numerically.

I have no idea.
 
JasonRox said:
I thought Euler's method was to do it numerically.

I have no idea.

well, i guess it isn't exactly Euler's method, but it's finding the accuracy OF it, i just realized that. And to find it, I have to find the exact solution of that initial value problem..
 
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