Re: NDSolve differences between mathematica 8 and 9
- To: mathgroup at smc.vnet.net
- Subject: [mg129577] Re: NDSolve differences between mathematica 8 and 9
- From: "Kevin J. McCann" <kjm at KevinMcCann.com>
- Date: Sat, 26 Jan 2013 01:38:15 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
- References: <kdt902$98j$1@smc.vnet.net>
It worked fine for me. Please note that "I" not "i" is the square root of minus one. This may be your problem, I only have Mathematica 9 on my computer; so, I can't comment on the Mathematica 8 result. Kevin On 1/25/2013 1:33 AM, Teresa wrote: > 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}]