home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math.symbolic
- Path: sparky!uunet!gumby!destroyer!news.iastate.edu!pv740a.vincent.iastate.edu!slaven
- From: slaven@iastate.edu (Dave Slaven)
- Subject: Schrodinger equation with Mathematica
- Message-ID: <slaven.713636159@pv740a.vincent.iastate.edu>
- Keywords: head, wall, beat
- Sender: news@news.iastate.edu (USENET News System)
- Organization: Iowa State University, Ames IA
- Date: Wed, 12 Aug 1992 16:15:59 GMT
- Lines: 34
-
- In preparation for teaching quantum mechanics this fall, i've been
- trying to attack the Schrodinger equation with Mathematica. As this
- is my first attempt at using Mathematica, i'm being quite unsuccessful
- about it.
-
- Here's the plan. The starting point is the equation
- psi''[x]-(v[x]-e)==0. For a bound state problem (such as the simple
- harmonic oscillator, v[x]=x^2) the condition that the psi vanish at
- +-Infinity dictates that only certain values of e are allowed, and the
- object is to find them. So the plan is to start at x=-Infinity, work
- our way to Infinity, and find a value of e that gives us 0 there. Not
- that i'm starting out so ambitiously. I'm just trying now to use a
- value of e that i know works (1 for SHO in the units i'm using) and
- using NDSolve.
-
- Of course, you can't start NDSolve at -Infinity, so i've changed
- variables via x=Tan[u]. The new equation is
- Cos[u]^4 (psi''[u]-2 Tan[u] psi'[u])-(v[u]-e) psi[u]==0, where u runs
- from -Pi/2 to Pi/2. I use this and the conditions psi[-Pi/2]==0,
- psi'[-Pi/2]==1 (the latter is arbitrary, since i don't care about the
- wave function being properly normalized) and use NDSolve from -Pi/2 to
- Pi/2. When i try this, i get "Repeated convergence test failure..."
- I've also tried it with values for the minimum and maximum slightly
- inside (-Pi/2,Pi/2) and get the same message. Admittedly, the
- potential blows up at the endpoints (v[u]=Tan[u]^2), but is there
- nothing that can be done? Surely someone else has tried this with
- more success than i! Somebody please do my job for me and tell me how
- this will work! Thanks!!
-
- --
- Dave Slaven!
-
- "I'm not downhearted. I am not downhearted.
- I'm not downhearted, but I'm gettin' there." --Mose Allison
-