Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10360

Re: Complex equation+ NDsolve

From danl@wolfram.com
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Complex equation+ NDsolve
Date 2012-06-06 08:49 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jqn5hu$hd5$1@smc.vnet.net> (permalink)
References <jqkhgd$4m7$1@smc.vnet.net>

Show all headers | View raw


On Tuesday, June 5, 2012 3:54:37 AM UTC-5, sumarna...@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

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Complex equation+ NDsolve sumarna.haroon@gmail.com - 2012-06-05 08:54 +0000
  Re: Complex equation+ NDsolve Szabolcs Horvát <szhorvat@gmail.com> - 2012-06-06 08:47 +0000
  Re: Complex equation+ NDsolve danl@wolfram.com - 2012-06-06 08:49 +0000
    Re: Complex equation+ NDsolve danl@wolfram.com - 2012-06-07 09:18 +0000

csiph-web