Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: smallest fraction

  • To: mathgroup at smc.vnet.net
  • Subject: [mg86792] Re: [mg86771] smallest fraction
  • From: Curtis Osterhoudt <cfo at lanl.gov>
  • Date: Fri, 21 Mar 2008 01:53:11 -0500 (EST)
  • Organization: LANL
  • References: <200803200757.CAA29500@smc.vnet.net>
  • Reply-to: cfo at lanl.gov

  I doubt this is in the spirit of the problem, but if p and q (assumed 
integers) aren't restricted to be _positive_, then taking them both to be 
very large negative numbers would both fit the p/q in I requirement, and p+q 
as "small" as possible. 

               C.O.

On Thursday 20 March 2008 01:57:30 masmoudi wrote:
> hi
>
> suppose that we have an interval  I belong to [0,1]
>
> I want to know how to calculate a fraction p/q
> belong to I and p+q is the smallest possible



-- 
==========================================================
Curtis Osterhoudt
cfo at remove_this.lanl.and_this.gov
PGP Key ID: 0x4DCA2A10
Please avoid sending me Word or PowerPoint attachments
See http://www.gnu.org/philosophy/no-word-attachments.html
==========================================================


  • Prev by Date: Re: floating point issue
  • Next by Date: 6.0.2: Input cells' font darker now?
  • Previous by thread: Re: Re: smallest fraction
  • Next by thread: Re: Re: smallest fraction