Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project!

## [Maxima-bugs] [ maxima-Bugs-2977398 ] integrate(x*(cos(x/2)),x)

 [Maxima-bugs] [ maxima-Bugs-2977398 ] integrate(x*(cos(x/2)),x) From: SourceForge.net - 2010-03-27 12:41:43 ```Bugs item #2977398, was opened at 2010-03-27 01:54 Message generated for change (Comment added) made by rtoy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2977398&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: Lisp Core - Integration Group: None >Status: Pending >Resolution: Works For Me Priority: 5 Private: No Submitted By: peach (ume-boshi) Assigned to: Nobody/Anonymous (nobody) Summary: integrate(x*(cos(x/2)),x) Initial Comment: integrate(x*(cos(x/2)),x) and f(n):=expand(integrate(x*(n+cos(x/2)),x)-integrate(n*x,x)); are same function but... When n are even numbers, results are always 1/2 (%i2) f(1); (%o2) 2*x*sin(x/2)+4*cos(x/2) (%i3) f(2); (%o3) x*sin(x/2)+2*cos(x/2) (%i4) f(3);(%o4) 2*x*sin(x/2)+4*cos(x/2) (%i5) f(4); ***** if f(n) is defined as f(n):=expand(integrate(x*n+x*cos(x/2),x)-integrate(n*x,x)) f(n) gives always correct answer. (%o5) x*sin(x/2)+2*cos(x/2) ---------------------------------------------------------------------- >Comment By: Raymond Toy (rtoy) Date: 2010-03-27 08:41 Message: What version are you using? Current CVS gives f(n) gives 2*x*sin(x/2)+4*cos(x/2). Marking as pending/worksforme ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2977398&group_id=4933 ```

 [Maxima-bugs] [ maxima-Bugs-2977398 ] integrate(x*(cos(x/2)),x) From: SourceForge.net - 2010-03-27 05:54:13 ```Bugs item #2977398, was opened at 2010-03-26 22:54 Message generated for change (Tracker Item Submitted) made by ume-boshi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2977398&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: Lisp Core - Integration Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: peach (ume-boshi) Assigned to: Nobody/Anonymous (nobody) Summary: integrate(x*(cos(x/2)),x) Initial Comment: integrate(x*(cos(x/2)),x) and f(n):=expand(integrate(x*(n+cos(x/2)),x)-integrate(n*x,x)); are same function but... When n are even numbers, results are always 1/2 (%i2) f(1); (%o2) 2*x*sin(x/2)+4*cos(x/2) (%i3) f(2); (%o3) x*sin(x/2)+2*cos(x/2) (%i4) f(3);(%o4) 2*x*sin(x/2)+4*cos(x/2) (%i5) f(4); ***** if f(n) is defined as f(n):=expand(integrate(x*n+x*cos(x/2),x)-integrate(n*x,x)) f(n) gives always correct answer. (%o5) x*sin(x/2)+2*cos(x/2) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2977398&group_id=4933 ```
 [Maxima-bugs] [ maxima-Bugs-2977398 ] integrate(x*(cos(x/2)),x) From: SourceForge.net - 2010-03-27 12:41:43 ```Bugs item #2977398, was opened at 2010-03-27 01:54 Message generated for change (Comment added) made by rtoy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2977398&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: Lisp Core - Integration Group: None >Status: Pending >Resolution: Works For Me Priority: 5 Private: No Submitted By: peach (ume-boshi) Assigned to: Nobody/Anonymous (nobody) Summary: integrate(x*(cos(x/2)),x) Initial Comment: integrate(x*(cos(x/2)),x) and f(n):=expand(integrate(x*(n+cos(x/2)),x)-integrate(n*x,x)); are same function but... When n are even numbers, results are always 1/2 (%i2) f(1); (%o2) 2*x*sin(x/2)+4*cos(x/2) (%i3) f(2); (%o3) x*sin(x/2)+2*cos(x/2) (%i4) f(3);(%o4) 2*x*sin(x/2)+4*cos(x/2) (%i5) f(4); ***** if f(n) is defined as f(n):=expand(integrate(x*n+x*cos(x/2),x)-integrate(n*x,x)) f(n) gives always correct answer. (%o5) x*sin(x/2)+2*cos(x/2) ---------------------------------------------------------------------- >Comment By: Raymond Toy (rtoy) Date: 2010-03-27 08:41 Message: What version are you using? Current CVS gives f(n) gives 2*x*sin(x/2)+4*cos(x/2). Marking as pending/worksforme ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2977398&group_id=4933 ```
 [Maxima-bugs] [ maxima-Bugs-2977398 ] integrate(x*(cos(x/2)),x) From: SourceForge.net - 2010-03-27 12:58:03 ```Bugs item #2977398, was opened at 2010-03-26 22:54 Message generated for change (Comment added) made by ume-boshi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2977398&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: Lisp Core - Integration Group: None >Status: Open Resolution: Works For Me Priority: 5 Private: No Submitted By: peach (ume-boshi) Assigned to: Nobody/Anonymous (nobody) Summary: integrate(x*(cos(x/2)),x) Initial Comment: integrate(x*(cos(x/2)),x) and f(n):=expand(integrate(x*(n+cos(x/2)),x)-integrate(n*x,x)); are same function but... When n are even numbers, results are always 1/2 (%i2) f(1); (%o2) 2*x*sin(x/2)+4*cos(x/2) (%i3) f(2); (%o3) x*sin(x/2)+2*cos(x/2) (%i4) f(3);(%o4) 2*x*sin(x/2)+4*cos(x/2) (%i5) f(4); ***** if f(n) is defined as f(n):=expand(integrate(x*n+x*cos(x/2),x)-integrate(n*x,x)) f(n) gives always correct answer. (%o5) x*sin(x/2)+2*cos(x/2) ---------------------------------------------------------------------- >Comment By: peach (ume-boshi) Date: 2010-03-27 05:58 Message: Yes, I checked using newest version. Ｔｈｉｓ　bug has been fixed in version Maxima 5.20.1 http://maxima.sourceforge.net using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (a.k.a. GCL) Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. ＊＊＊＊＊＊＊＊＊＊＊ first version is Maxima version: 5.15.0 Maxima build date: 17:36 4/20/2008 host type: i686-pc-mingw32 lisp-implementation-type: GNU Common Lisp (GCL) lisp-implementation-version: GCL 2.6.8 ---------------------------------------------------------------------- Comment By: Raymond Toy (rtoy) Date: 2010-03-27 05:41 Message: What version are you using? Current CVS gives f(n) gives 2*x*sin(x/2)+4*cos(x/2). Marking as pending/worksforme ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2977398&group_id=4933 ```
 [Maxima-bugs] [ maxima-Bugs-2977398 ] integrate(x*(cos(x/2)),x) From: SourceForge.net - 2010-03-27 12:58:57 ```Bugs item #2977398, was opened at 2010-03-26 22:54 Message generated for change (Settings changed) made by ume-boshi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2977398&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: Lisp Core - Integration Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: peach (ume-boshi) Assigned to: Nobody/Anonymous (nobody) Summary: integrate(x*(cos(x/2)),x) Initial Comment: integrate(x*(cos(x/2)),x) and f(n):=expand(integrate(x*(n+cos(x/2)),x)-integrate(n*x,x)); are same function but... When n are even numbers, results are always 1/2 (%i2) f(1); (%o2) 2*x*sin(x/2)+4*cos(x/2) (%i3) f(2); (%o3) x*sin(x/2)+2*cos(x/2) (%i4) f(3);(%o4) 2*x*sin(x/2)+4*cos(x/2) (%i5) f(4); ***** if f(n) is defined as f(n):=expand(integrate(x*n+x*cos(x/2),x)-integrate(n*x,x)) f(n) gives always correct answer. (%o5) x*sin(x/2)+2*cos(x/2) ---------------------------------------------------------------------- Comment By: peach (ume-boshi) Date: 2010-03-27 05:58 Message: Yes, I checked using newest version. Ｔｈｉｓ　bug has been fixed in version Maxima 5.20.1 http://maxima.sourceforge.net using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (a.k.a. GCL) Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. ＊＊＊＊＊＊＊＊＊＊＊ first version is Maxima version: 5.15.0 Maxima build date: 17:36 4/20/2008 host type: i686-pc-mingw32 lisp-implementation-type: GNU Common Lisp (GCL) lisp-implementation-version: GCL 2.6.8 ---------------------------------------------------------------------- Comment By: Raymond Toy (rtoy) Date: 2010-03-27 05:41 Message: What version are you using? Current CVS gives f(n) gives 2*x*sin(x/2)+4*cos(x/2). Marking as pending/worksforme ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2977398&group_id=4933 ```