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


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

NDSolve differences between mathematica 8 and 9

Started byTeresa <teresajane88@gmail.com>
First post2013-01-24 06:17 +0000
Last post2013-01-26 06:37 +0000
Articles 2 — 2 participants

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


Contents

  NDSolve differences between mathematica 8 and 9 Teresa <teresajane88@gmail.com> - 2013-01-24 06:17 +0000
    Re: NDSolve differences between mathematica 8 and 9 Bert RAM Aerts <bert.ram.aerts@gmail.com> - 2013-01-26 06:37 +0000

#13255 — NDSolve differences between mathematica 8 and 9

FromTeresa <teresajane88@gmail.com>
Date2013-01-24 06:17 +0000
SubjectNDSolve differences between mathematica 8 and 9
Message-ID<kdqjlh$3d4$1@smc.vnet.net>
Hello,

I am using mathematica 9 and having some problems with a particular expression, but when I tried it on mathematica 8 it worked perfectly. My expression is:

NDSolve[{D[T[n,z],n]+i 2 D[T[n,z],{z,2}]+z^2 T[n,z]==0,T[0,z]==1,Derivative[0,1][T][n,5]==0,Derivative[0,1][T][n,0]==0},T,{n,0,5},{z,0,5}]

where i is the imaginary number, and on both I had a new window to work on, with nothing having been done previously on it. 

Mathematica 8 gave me this:
{{T-> InterpolatingFunction[{{0.,5.},{0.,5.}},<>]}}

and mathematica 9 gave me this:
NDSolve::ndnum : Encountered non-numerical value for a derivative at n==0.`.>>

Does anyone know what is going on here? I cannot use mathematica 8, as I do not have continual access to that machine. 

Thank you for your help.

[toc] | [next] | [standalone]


#13269

FromBert RAM Aerts <bert.ram.aerts@gmail.com>
Date2013-01-26 06:37 +0000
Message-ID<kdvtjg$fo9$1@smc.vnet.net>
In reply to#13255
On Thursday, January 24, 2013 7:17:21 AM UTC+1, Teresa wrote:

> where i is the imaginary number, and on both I had a new window to work on, with nothing having been done previously on it. 

Please use capital I for the imaginary unit.
Then I got a solution for your equation with
Mathematica 9.0 x86_64 on Linux Mageia 2 x86_64. 

[toc] | [prev] | [standalone]


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


csiph-web