MathGroup Archive 2009

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

Search the Archive

Re: Refine, assumptions, domains

  • To: mathgroup at smc.vnet.net
  • Subject: [mg101710] Re: [mg101690] Refine, assumptions, domains
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Wed, 15 Jul 2009 07:07:47 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200907140937.FAA02004@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

Brute force:

   Pi Last /@ List @@ Reduce[0 < n Pi < 10 , n, Integers]

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.)
> 

-- 
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


  • Prev by Date: Re: Rewriting a polynomial
  • Next by Date: [bug] exporting GraphicsRow of ListLogLogPlot does not work when
  • Previous by thread: Re: Refine, assumptions, domains
  • Next by thread: Re: Refine, assumptions, domains