On Oct. 2, Edwin Woollett wrote:
--------------------
Ver. 5.18.1 appears to have the last good version
of limit, since the behavior is:
Maxima 5.18.1 http://maxima.sourceforge.net
Using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (aka GCL)
..
(%i1) display2d:false$
(%i2) limit ((sin(n*x) - n*x*cos(n*x))/n^2, x, %pi);
(%o2) sin(%pi*n)/n^2-%pi*cos(%pi*n)/n
(%i3) declare (n,integer)$
(%i4) limit ((sin(n*x) - n*x*cos(n*x))/n^2, x, %pi);
(%o4) -%pi*(-1)^n/n
------------
Is this a known bug in version 5.19.2?
---------------------
Is there a way to use limit.lisp from version
5.18.1 src on top of 5.19.2 to get good
results from limit?
I tried putting a copy of 5.18.1 limit.lisp
in my work folder, and renaming it
limit5181.lisp and loading it in, but
with no effect:
-------------------------
Maxima 5.19.2 http://maxima.sourceforge.net
Using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (aka GCL)
%i1) display2d:false$
(%i2) (load(fourie), facts() );
(%o2) []
(%i3) (declare(n,integer), facts() );
(%o3) [kind(n,integer)]
(%i4) load (limit5181);
(%o4) "c:/work3/limit5181.lisp"
(%i5) clist : fourier(x,x,%pi);
(%t5) a[0] = 0
(%t6) a[n] = 0
Maxima encountered a Lisp error:
Error in LET [or a callee]: Bind stack overflow.
Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
-------------
Ted Woollett