problems with maxima 5.22.1



Hello Mr Kaiser

Thanks for your help.
Unfortunately, I'm not a specialist in Maxima or Lisp, but merely a 
beginning user (electronics engineer).

I don't know how to include the patch (didn't find anything in the 
documentation ...)

I've included the batch-file : cylinder.mac from 
http://www.csulb.edu/~woollett/

With the batch-file you will see that the laplacian, divergence and curl 
isn't calculated correctly in cylindrical coordinates.

Hope this helps.

Best regards,

Bruno Torremans


On 10/06/2010 10:50 PM, Dieter Kaiser wrote:
> Am Montag, den 04.10.2010, 18:38 +0200 schrieb Bruno Torremans:
>
> Helle Bruno,
>
> I have not looked through your posting in detail, but I think the
> problem might be due to an error I have introduced unfortunately between
> Maxima 5.21 and Maxima 5.22.
>
> If I am right and this error is the problem you have to load the
> following code in Maxima to get the expected behavior:
>
> (defun depends (e x&aux l)
>    (setq e (specrepcheck e))
>    (cond ((alike1 e x) t)
>          ((mnump e) nil)
>          ((and (symbolp e) (setq l (mget e 'depends)))
>           ;; Go recursively through the list of dependencies.
>           ;; This code detects indirect dependencies like a(x) and x(t).
>           (dependsl l x))
>          ((atom e) nil)
>          (t (or (depends (caar e) x)
>                 (dependsl (cdr e) x)))))
>
>
> If you have problems to load this patch, please send an email to the
> list again and I will give more help.
>
> By the way, it is much better to give only one short example, which I
> can cut out from the bug report and insert directly in my Maxima
> session. I suppose the patch from above will solve the problem, but at
> the moment I have not enough time to figure out a good test case from
> the reported examples.
>
> Dieter Kaiser
>
>
>
>    

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cylinder.mac
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20101007/612b76d4/attachment-0001.ksh>;