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


Groups > comp.soft-sys.math.mathematica > #10354 > unrolled thread

Complex equation+ NDsolve

Started bysumarna.haroon@gmail.com
First post2012-06-05 08:54 +0000
Last post2012-06-07 09:18 +0000
Articles 4 — 3 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  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

#10354 — Complex equation+ NDsolve

Fromsumarna.haroon@gmail.com
Date2012-06-05 08:54 +0000
SubjectComplex equation+ NDsolve
Message-ID<jqkhgd$4m7$1@smc.vnet.net>
Can Mathematica solve Complex partial differential equations?? using NDsolve

[toc] | [next] | [standalone]


#10357

FromSzabolcs Horvát <szhorvat@gmail.com>
Date2012-06-06 08:47 +0000
Message-ID<jqn5f2$hcs$1@smc.vnet.net>
In reply to#10354
On 2012.06.05. 10:54, sumarna.haroon@gmail.com wrote:
> Can Mathematica solve Complex partial differential equations?? using NDsolve
>

The first section here will tell you what it can handle:

http://reference.wolfram.com/mathematica/tutorial/NDSolvePDE.html

-- 
Szabolcs Horvát
Visit Mathematica.SE:  http://mathematica.stackexchange.com/

[toc] | [prev] | [next] | [standalone]


#10360

Fromdanl@wolfram.com
Date2012-06-06 08:49 +0000
Message-ID<jqn5hu$hd5$1@smc.vnet.net>
In reply to#10354
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

[toc] | [prev] | [next] | [standalone]


#10368

Fromdanl@wolfram.com
Date2012-06-07 09:18 +0000
Message-ID<jqprkj$2bn$1@smc.vnet.net>
In reply to#10360
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...@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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web