Re: Integration - another Integer as a result

*To*: mathgroup at smc.vnet.net*Subject*: [mg93760] Re: [mg93743] Integration - another Integer as a result*From*: DrMajorBob <btreat1 at austin.rr.com>*Date*: Tue, 25 Nov 2008 07:16:30 -0500 (EST)*References*: <200811241144.GAA16308@smc.vnet.net>*Reply-to*: drmajorbob at longhorns.com

Two problems: (1) nPi is not the same as n Pi (similarly for mPi). (2) the first link shows input and output in TraditionalForm, where Sin is diplayed as sin. The Mathematica NAME of the function, however, is Sin. Integrate[2 x Sin[n Pi x/L] Sin[m Pi x/L], x] (1/(\[Pi]^2))L (( L Cos[((m - n) \[Pi] x)/L] + (m - n) \[Pi] x Sin[((m - n) \[Pi] x)/ L])/(m - n)^2 - ( L Cos[((m + n) \[Pi] x)/L] + (m + n) \[Pi] x Sin[((m + n) \[Pi] x)/ L])/(m + n)^2) Bobby On Mon, 24 Nov 2008 05:44:28 -0600, MikeSw <sowasowa at o2.pl> wrote: > Hello, > > I'm trying to calculate an integer using Mathematica, but instead of > getting a "normal" result I get another Integer. The algorithm available > on Wolfram website does this calculation with no problem: > > http://img156.imageshack.us/my.php?image=cakaqt6.jpg > > but Mathematica gives this: > > http://img156.imageshack.us/my.php?image=cakamtkmvk9.jpg > > I guess there is something wrong with the input? > -- DrMajorBob at longhorns.com

**References**:**Integration - another Integer as a result***From:*MikeSw <sowasowa@o2.pl>