First order differentials & euler's method

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
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
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..