Re: Mathematica have an 'Assume' type syntax/command?
- To: mathgroup at smc.vnet.net
- Subject: [mg33073] Re: Mathematica have an 'Assume' type syntax/command?
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Fri, 1 Mar 2002 06:51:22 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <a5htib$hsu$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, Integrate[x^2*Sin[n*Pi*x/a]^2, {x, 0, a}] // FullSimplify[#, n > 0 && Element[n, Integers]] & but what is "maple" ? Regards Jens Flip Flippy wrote: > > Hi All, > > I saw this on sci.math and was wondering how an 'assume' type function > can be done in Mathematica. > > Does one exist, or is there a way to emulate one? > > Here was the problem. > > After running the following code in maple: > > assume(n>0,n,integer); > int(x^2*(sin(n*Pi*x/a))^2,x=0..a); > > Any thoughts? Thank you, Flip > > -- > Posted via Mailgate.ORG Server - http://www.Mailgate.ORG