Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Rightclick on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: SourceForge.net <noreply@so...>  20051206 18:46:36

Bugs item #1374704, was opened at 20051206 10:46 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1374704&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Xmaxima Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: integrate(sin(x)/cos(x)^2,x,0,%pi/3); Initial Comment: Should return 1 but returns 0 if cos(x) is declared positive. Strange enough, if cos(x) is declared zero, maxima returns the correct result. poul.riis@...  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1374704&group_id=4933 
From: SourceForge.net <noreply@so...>  20060128 19:23:15

Bugs item #1374704, was opened at 20051206 13:46 Message generated for change (Comment added) made by rtoy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1374704&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Xmaxima Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: integrate(sin(x)/cos(x)^2,x,0,%pi/3); Initial Comment: Should return 1 but returns 0 if cos(x) is declared positive. Strange enough, if cos(x) is declared zero, maxima returns the correct result. poul.riis@...  >Comment By: Raymond Toy (rtoy) Date: 20060128 14:23 Message: Logged In: YES user_id=28849 The hint that the result is correct if cos(x) is declared zero is key. It seems the problem is in sincosintsubs1 in defint.lisp. There's a clause there: ((not (equal ($asksign denom) '$zero)) 0.) This seems bizarre. If the denom is not zero, why should it return 0? My limited understanding is that sincosintsubs1 is supposed to substitute the limits of the integral into the indefinite integral. (Which, by the way is correctly computed by antideriv.) Changing it to read (equal ($asksign denom) '$zero)) makes more sense, but I don't know about returning zero as the result. Undefined or infinity seems better, if a choice must be made.  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1374704&group_id=4933 
From: SourceForge.net <noreply@so...>  20060212 16:09:10

Bugs item #1374704, was opened at 20051206 13:46 Message generated for change (Comment added) made by rtoy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1374704&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Xmaxima Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: integrate(sin(x)/cos(x)^2,x,0,%pi/3); Initial Comment: Should return 1 but returns 0 if cos(x) is declared positive. Strange enough, if cos(x) is declared zero, maxima returns the correct result. poul.riis@...  >Comment By: Raymond Toy (rtoy) Date: 20060212 11:09 Message: Logged In: YES user_id=28849 Fixed as described, but we return '$undefined instead of 0, for want of a better solution. Seems better than 0 anyway.  Comment By: Raymond Toy (rtoy) Date: 20060128 14:23 Message: Logged In: YES user_id=28849 The hint that the result is correct if cos(x) is declared zero is key. It seems the problem is in sincosintsubs1 in defint.lisp. There's a clause there: ((not (equal ($asksign denom) '$zero)) 0.) This seems bizarre. If the denom is not zero, why should it return 0? My limited understanding is that sincosintsubs1 is supposed to substitute the limits of the integral into the indefinite integral. (Which, by the way is correctly computed by antideriv.) Changing it to read (equal ($asksign denom) '$zero)) makes more sense, but I don't know about returning zero as the result. Undefined or infinity seems better, if a choice must be made.  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1374704&group_id=4933 
Sign up for the SourceForge newsletter:
No, thanks