MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Refine, assumptions, domains

  • To: mathgroup at smc.vnet.net
  • Subject: [mg101712] Re: [mg101690] Refine, assumptions, domains
  • From: Sseziwa Mukasa <mukasa at jeol.com>
  • Date: Wed, 15 Jul 2009 07:08:15 -0400 (EDT)
  • References: <200907140937.FAA02004@smc.vnet.net>

On Jul 14, 2009, at 5:37 AM, Richard Fateman wrote:

> What I'm looking for is a simple way to obtain a finite list
>
> { Pi, 2 Pi, 3 Pi}
>
> from  this information:
>
>    0< n*Pi < 10,  Element[n,Integers]
>
> Refine doesn't do this, at least with Mathematica 6.0
> Suggestions? (cc to fateman at gmail.com would be nice.)

In[2]:= Reduce[0<n Pi<10,n,Integers]
Out[2]= n==1||n==2||n==3


  • Prev by Date: Re: Re: NDSolve problem
  • Next by Date: Re: Assigning Values to Many Symbols at Once
  • Previous by thread: Refine, assumptions, domains
  • Next by thread: Re: Refine, assumptions, domains