Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10354 > unrolled thread
| Started by | sumarna.haroon@gmail.com |
|---|---|
| First post | 2012-06-05 08:54 +0000 |
| Last post | 2012-06-07 09:18 +0000 |
| Articles | 4 — 3 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
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
| From | sumarna.haroon@gmail.com |
|---|---|
| Date | 2012-06-05 08:54 +0000 |
| Subject | Complex equation+ NDsolve |
| Message-ID | <jqkhgd$4m7$1@smc.vnet.net> |
Can Mathematica solve Complex partial differential equations?? using NDsolve
[toc] | [next] | [standalone]
| From | Szabolcs Horvát <szhorvat@gmail.com> |
|---|---|
| Date | 2012-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]
| From | danl@wolfram.com |
|---|---|
| Date | 2012-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]
| From | danl@wolfram.com |
|---|---|
| Date | 2012-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