First order differentials & euler's method

1. Nov 9, 2006

raincheck

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: Nov 9, 2006
2. Nov 9, 2006

JasonRox

I thought Euler's method was to do it numerically.

I have no idea.

3. Nov 9, 2006

raincheck

well, i guess it isnt 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..