Mathematica Help in Mathematica code for solutions expansion of differential equations

AI Thread Summary
The discussion focuses on seeking help for resolving issues with Mathematica's NDSolve function for four differential equations. Participants suggest simplifying the code by retaining only one equation and clearly describing the specific problems encountered. They recommend posting on dedicated Mathematica forums for better assistance and providing a well-structured example of the code. Emphasis is placed on converting code to Raw Input form for clarity and ensuring that the question is detailed to attract helpful responses. Overall, the conversation highlights the importance of clear communication and proper formatting when seeking technical help.
jadyliber
Messages
11
Reaction score
0
I need to NDsolve four differential equations.
But I find my code does not work. Who can give me some suggestions? Thanks!
 
Last edited:
Physics news on Phys.org
jadyliber said:
I need to NDsolve four differential equations.
But I find my code does not work. Who can give me some suggestions? Thanks!
the equations:

Move it to the Mathematica forum, get rid of all that messy code, scrap all but one of them, write it neatly, and wait for help.
 
I am sorry for it.
by the way, is there a Mathematica forum? thanks for advices
 
jadyliber said:
is there a Mathematica forum?

Here
https://www.physicsforums.com/forumdisplay.php?f=189
or here
http://forums.wolfram.com/student-support/discussions/4/

As suggested, simplify your notebook as much as possible and describe exactly what the problem is with the result you are getting. Look at other postings there to see how people include a small notebook with their question, demonstrate their problem and ask their questions. Look at the posts that get answers for good examples.

The posts that do not get good answers say "Something is wrong using NDSolve. what do I do?"
 
Last edited:
Also, if you need to cut and paste your code, first convert it to Raw input form: highlight it, then select Cell/Convert To/Raw Input form. Then cut and paste it like I do below. Then wrap it in the code blocks:

Code:
mysol = NDSolve[{Derivative[1][y][x] + 
      (2*x + 1)*y[x] == 0, y[0] == 1}, y, {x, 0, 5}]
myPlot = Plot[y[x] /. mysol, {x, 0, 5}]
 
Thanks again to bill & jack
 

Similar threads

Replies
1
Views
2K
Replies
1
Views
3K
Replies
5
Views
3K
Replies
4
Views
3K
Replies
1
Views
3K
Back
Top