Re: assume an integer
- To: mathgroup at smc.vnet.net
- Subject: [mg22456] Re: [mg22478] assume an integer
- From: BobHanlon at aol.com
- Date: Wed, 8 Mar 2000 02:21:54 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
{Cos[m*Pi], Sin[n*Pi]} {Cos[m*Pi], Sin[n*Pi]} Simplify[%, Element[{m, n}, Integers]] {(-1)^m, 0} Bob Hanlon In a message dated 3/4/2000 3:47:37 AM, covenant at dirac.org writes: >is it possible to have Mathematica assume a variable is an integer? i >can't find an >example in the Mathematica book (book is for 3.0, but i'm using 4.0). > >what i'm getting at is: >Cos[m Pi] = (-1)^m >Sin[n Pi] = 0 >