On Thu, Oct 1, 2009 at 11:05 AM, Edwin Woollett <woollett at charter.net> wrote:
> (%i1) display2d:false$
> (%i2) (load(fourie), facts() );
> (%o2) []
> (%i3) (declare(n,integer), facts() );
> (%o3) [kind(n,integer)]
> (%i4) clist : fourier(x,x,%pi);
> (%t4) a[0] = 0
>
> (%t5) a[n] = 0
>
> Maxima encountered a Lisp error:
> ?Error in MACSYMA-TOP-LEVEL [or a callee]: Bind stack overflow.
Not a bug in fourier --- it appears to be due to this bug in limit.
(%i1) limit ((sin(n*x) - n*x*cos(n*x))/n^2, x, %pi);
sin(%pi n) %pi cos(%pi n)
(%o1) ---------- - --------------
2 n
n
(%i2) declare (n, integer);
(%o2) done
(%i3) limit ((sin(n*x) - n*x*cos(n*x))/n^2, x, %pi);
*** - Lisp stack overflow. RESET
At this point I don't know anything else about it.
best
Robert Dodier