Re: Complex equation+ NDsolve

*To*: mathgroup at smc.vnet.net*Subject*: [mg126775] Re: Complex equation+ NDsolve*From*: danl at wolfram.com*Date*: Thu, 7 Jun 2012 05:16:55 -0400 (EDT)*Delivered-to*: l-mathgroup@mail-archive0.wolfram.com*References*: <jqkhgd$4m7$1@smc.vnet.net> <jqn5hu$hd5$1@smc.vnet.net>

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 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 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