- #1

- 38

- 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!]

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: