[18504] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: sgi 8.4.16: Maple

daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Tue Nov 14 17:40:01 2000

To: Jeremy A Teichman <jteichm@MIT.EDU>
Cc: bugs@MIT.EDU
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Jacob Morzinski <jmorzins@MIT.EDU>
Date: 14 Nov 2000 17:39:56 -0500
In-Reply-To: Jeremy A Teichman's message of "Tue, 14 Nov 2000 17:06:30 -0500"
Message-ID: <w6md7fyjhz7.fsf@oliver.mit.edu>

<jteichm@MIT.EDU> (Jeremy A Teichman) writes:
> What's wrong:
> 	The reported answer shows a spurious dependence on the order of the
> arguments.  For the first case shown below, the correct answer is returned.
> For the second case, zero is returned.
> 
> What should have happened:
> 	diff(sum(f(m,theta,r)*sin(m*theta),m=1..N),r);
> should produce the same result as
> 	diff(sum(f(m,r,theta)*sin(m*theta),m=1..N),r);


A comment from a passer-by:

I wish you had shown the output that Maple gave you.  I ran Maple
three times.  The first and third time where the GUI, the second
time was maple.tty (the command-line interface).  I did not get
the same results each time, which is still probably a bug.

When I used the Maple6 GUI, both results were 0 and 0.
When I used the command-line version, I got 0 the first time and
a non-zero result the second time, which seems to be the opposite
from what you got.

    > diff(sum(f(m,theta,r)*sin(m*theta),m=1..N),r);
    bytes used=1020324, alloc=851812, time=0.55
    					   0
    
    > diff(sum(f(m,r,theta)*sin(m*theta),m=1..N),r);
    bytes used=2020744, alloc=1244956, time=1.33
    			  N
    			-----
    			 \    /d                \
    			  )   |-- f(m, r, theta)| sin(m theta)
    			 /    \dr               /
    			-----
    			m = 1
    


home help back first fref pref prev next nref lref last post