Maxima 5.25.0 and pw.mac



Here are some examples.

(%i1) display2d:false;

(out1) false
(%i2) assume(c>0);
(out2) [c > 0]
(%i3) pwint(x^5*diff_pwdelta(c*x-p),x,minf,inf);

Error : diff_pwdelta takes two arguments.
#0: simpdiffdelta(__e=[c*x-p])(pw.mac line 195)
-- an error. To debug this try: debugmode(true);
(%i4) pwint(x^5*diff_pwdelta(2,c*x-p),x,minf,inf);

(out4) 20*p^3/c^6
(%i5) pwint(x^5*diff_pwdelta(3,c*x-p),x,minf,inf);

(out5) -60*p^2/c^6
(%i6) pwint(cos(x)*diff_pwdelta(3,c*x-p),x,minf,inf);

(out6) -sin(p/c)/c^4
(%i7) pwint(cos(x)*diff_pwdelta(2,c*x-p),x,minf,inf);

(out7) -cos(p/c)/c^3

I believe these are all correct.

Rich

-----Original Message----- 
From: Richard Hennessy
Sent: Wednesday, August 17, 2011 3:48 PM
To: maxima at math.utexas.edu
Subject: Re: Maxima 5.25.0 and pw.mac

Hi List;

There are no issues with pw.mac in Maxima 5.25.0.

There was a bug in the integration of diff_pwdelta(), which is fixed now in
the latest version of pw.mac, version 6.3.  I uploaded it last night.  The
bug was when you try

pwint(diff_pwdelta(2, a*x-t) * <expr>, x, minf, inf);
or
pwint(diff_pwdelta(2, a*x-t) * <expr>, x);

where a # 1.  Thanks to recent posts to this list by James Cloos, I noticed
the bug and fixed it.

Rich