MathGroup Archive 2012

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

Search the Archive

Re: Complex equation+ NDsolve

  • To: mathgroup at smc.vnet.net
  • Subject: [mg126765] Re: Complex equation+ NDsolve
  • From: danl at wolfram.com
  • Date: Wed, 6 Jun 2012 04:51:30 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jqkhgd$4m7$1@smc.vnet.net>

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