Message Boards Message Boards

0
|
1087 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:

Help solving an ODE?

Posted 7 months ago

Solve the equation

y'''' + 2y^m + y^n = xe^–x

I think the common accent should be moved outside the parentheses, but I don't know what to do in the next steps

POSTED BY: Pervin Ece

Many ODEs do not have symbolic solutions in terms of commonly defined functions. The ODE in the question probably falls in that category. However, it should be noted that DSolve sometimes is unable to solve ODEs that do have symbolic solutions in terms of commonly defined functions.

We can solve numerically:

 sol = With[{m = 3, n = 2}, 
   NDSolve[{y''''[x] + 2 y[x]^m + y[x]^n == x*Exp[-x], y[0] == 1, 
     y'[0] == 1, y''[0] == 0, y'''[0] == 0}, y, {x, 0, 2}]]
Plot[y[x] /. sol, {x, 0, 2}, PlotRange -> All]

Regards M.I.

POSTED BY: Mariusz Iwaniuk
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract