Message Boards Message Boards

How to solve this differential equation groups

Posted 9 years ago
Attachments:
POSTED BY: YU SHANG
5 Replies
Posted 9 years ago

I save your calculated x11,x00,x10,x01 interpolating functions in y11,y00,y10,y01 by doing this

(*Second-correlation equations*)
...
{y11, y00, y10, y01} = NDSolveValue[...];

And then I am able to plot your function by doing this

Plot[NIntegrate[y11[t, \[Tau]], {t, 0, 450}], {\[Tau], 0, 20}, PlotRange->All]

and get the value at a point t,tau by doing this

In[15]:= y11[13, 5]

Out[15]= 0.000462099 + 0. I
POSTED BY: Bill Simpson
Posted 9 years ago

Thank you very much !

POSTED BY: YU SHANG
Posted 9 years ago

Before your second NDSolve you have not assigned constant numeric values to \[Eta] or \[Alpha].

Unfortunately Mathematica does not instantly put up a message explaining exactly that, which would immediately lead you to what you need to fix, and instead puts up a message about some derivative being zero at some value of \[Tau].

If you insert

 \[Eta] = 11;\[Alpha] = 13;

or something similar prior to your second NDSolve then it appears that your error messages go away.

POSTED BY: Bill Simpson
Posted 9 years ago

Thank you very much Mr. Simpson. I modify my program and the second NDSolve seems worked! However, there still some problems. After the NDSolve, I can't get the number about x11[t,tau], and when I do NIntegrate for x11[t,tau], error appear again, says: NIntegrate::inumr: "The integrand x11[t,0.000408571] has evaluated to non-numerical values for all sampling points in the region with boundaries {{0,450}}." and con not put the picture at last.

I am quite hope could get you help, thanks again.

Attachments:
POSTED BY: YU SHANG
Posted 9 years ago

and how to do such a partial integration here

POSTED BY: YU SHANG
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