Re: Integration - another Integer as a result
- To: mathgroup at smc.vnet.net
- Subject: [mg93780] Re: [mg93743] Integration - another Integer as a result
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Tue, 25 Nov 2008 07:20:06 -0500 (EST)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <200811241144.GAA16308@smc.vnet.net>
- Reply-to: murray at math.umass.edu
Did you try correct Mathematica syntax -- Sin not sin, space between n and the Pi symbol? In Mathematica 7.0: Integrate[2 x + Sin[n Pi x/L] Sin[n Pi x/L], x] // InputForm x/2 + x^2 - (L*Sin[(2*n*Pi*x)/L])/(4*n*Pi) MikeSw 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? > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305
- References:
- Integration - another Integer as a result
- From: MikeSw <sowasowa@o2.pl>
- Integration - another Integer as a result