MathGroup Archive 2012

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

Search the Archive

Re: Complex equation+ NDsolve

On Wednesday, June 6, 2012 3:49:02 AM UTC-5, (unknown) wrote:
> On Tuesday, June 5, 2012 3:54:37 AM UTC-5, sumarna... at 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

Oops, I missed "partial" in the query. My guess is the type of example above will still work, but I have not checked to verify this.

Daniel Lichtblau
Wolfram Research

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