MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Complex equation+ NDsolve


On Tuesday, June 5, 2012 3:54:37 AM UTC-5, sumarna... at gmail.com wrote:
> Can Mathematica solve Complex partial differential equations?? using NDsolve

Yes. Here is a quick example.

NDSolve[x'[t] == I*x[t] && x[0] == 1, x[t], {t, 0, 2}]

This gives a sensible result, as can be seen visually:

Plot[{Re[soln], Im[soln]}, {t, 0, 1}]

Some methods may require input that is split into explicitly real equations though. This is the case if the input is a DAE system, for example.

Daniel Lichtblau
Wolfram Research



  • Prev by Date: Converting from string to real
  • Next by Date: Re: Complex equation+ NDsolve
  • Previous by thread: Re: Complex equation+ NDsolve
  • Next by thread: Re: Complex equation+ NDsolve