Bind stack overflow



Hi  Eric

Thanks for the reply. You're right; that's a wrong syntax that I
didn't changed when I switched from solve to allroots. But it's
surprising that it works on my

Maxima version: 5.20.1
Maxima build date: 8:48 2/16/2010
Host type: i686-pc-linux-gnu
Lisp implementation type: GNU Common Lisp (GCL)
Lisp implementation version: GCL 2.6.7
wxMaxima 0.8.4

And I get the same error even after correcting the allroots call. This
is all very strange! Could you run the last command more than once or
increase 200 to a larger number in the hope (!) of getting my error
message?

Thanks,
Mahdiyar

On Thu, Nov 18, 2010 at 1:47 AM, reyssat <eric.reyssat at math.unicaen.fr> wrote:
> Le 18/11/2010 10:00, Mahdiyar Noorbala a ?crit :
>>
>> .....
>>
>> s:ev(rectform(allroots(8*d*dx2*(d*v^2+1)^2=(6*d*dx2+dx2+1)*(d*v^2-dx2)^2,dx2)),numer),
>> .....
>>
>>
>
> Hello,
> I get an other error message with your code :
>
> APPLY: too many arguments given to #<COMPILED-FUNCTION $ALLROOTS>
>
> the variable (here dx2) shouldn't be given in the function allroots, only
> the equation (with only one variable).
>
> With this correction, it works well on my installation (maxima 5.20.1), I
> get a loop of 200 iterations (quite slow, about 1 sec/iter near the end),
> ending with :
>
> ***
> d= 0.1 v= 199
> [[0, 44.66396855988178], [6760.891216570977, inf]]
> [[.9685844756612081, .007036124652614255],
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? [.1997979848993713,
> 7.836929623497404E-18]]
> ***
> d= 0.1 v= 200
> [[0, 44.89215490497176], [6829.004777266476, inf]]
> [[.9685844776165118, .007036123253047886], [0.1998, 7.902138598194008E-18]]
> ***
> (%o31) [[.9685844776165118, .007036123253047886],
> [0.1998, 7.902138598194008E-18], [.9685844756612081, .007036124652614255],
> .................
> ........................ about 400 lines omitted here
> .................
> [- .2999999999999998, 1.775908734241145E-33],
> [.9680892182658708, .007376797106582455],
> [- .6888888888888889, 1.060276750855295E-43],
> [.9678493299051344, .007532632596365487],
> [.9675324717068019, .007729805032400509]]
>
>
> HTH
>
> Eric
>