[Maxima] This too does not work
rvh2007 at comcast.net
Thu Apr 17 11:58:06 CDT 2008
Are you saying to approach this like an initial value problem?
Yeah, I did some reading. Runge-Kutta or Heun's method.
From: Barton Willis <willisb at unk.edu>
To: "Richard Hennessy" <rvh2007 at comcast.net>
Cc: "Maxima List" <maxima at math.utexas.edu>
Date: Mon, Apr-14-2008 7:26 AM
Subject: Re: [Maxima] This too does not work
(1) Introduce a natural unit of length. After you express your
equation in dimensionless form, it will be less messy (no more m,
(2) Use the WKB method (or the Langer transformation) to find pretty
good values for the eigenvalues. That will provide a good starting values
(3) Setting fpprec to 100 might not be good enough. Try this experiment:
(%i27) fpprec : 100$
(%i33) (-157.0b0)^2500 / 2500!;
Your algorithm needs to determine fpprec, not you. Also, you need a
logical scheme for deciding how many terms to sum; again, a user
shouldn't have to decide---the algorithm should. Read about the running
error--it's not that hard to understand.
(4) Sum the series and calculate the terms of the series in a single
loop. You only need to save the most recent three coefficients. Your
code stores all of them in a hashed array. Surely this is slower than
it should be.
(5) I'm dubious that your scheme for graphically (?) determining
eigenvalues will work all that well. Have you tried it for the x^2
oscillator? How well does it work?
I suppose you know there are hundreds of articles on the x^4 oscillator.
More information about the Maxima