MathGroup Archive 1998

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

Search the Archive

Finding Optimal Integer Ratio for Any Decimal Fraction


  • To: mathgroup@smc.vnet.net
  • Subject: [mg12270] Finding Optimal Integer Ratio for Any Decimal Fraction
  • From: "Benjamin Tubb" <brtubb@cybertron.com>
  • Date: Tue, 5 May 1998 03:30:05 -0400
  • Organization: All USENET -- http://www.Supernews.com

I'm trying to find an optimal integer ratio for any given decimal value
within two constraints: 1) a maximum denominator and 2) a specified
decimal precision of match accuracy. For example: given a maximum
denominator of 2048, what is the smallest lowest common denominator
(LCD) ratio equaling close to 1.00057779 with a precision to the fifth
decimal place (i.e. the first '7' in this case)? The intent is to
generate a table of LCD integer ratios for each of the 1200 cents in 12
tone equal temperament.

----------------
Benjamin Tubb
AIM: brtubb
brtubb@cybertron.com
http://home.cybertron.com/~brtubb





  • Prev by Date: Re: Numerical Solution to a System of Differential Equations...
  • Next by Date: Re: Mathematica 3.0 preferences-file
  • Prev by thread: Formating output for email
  • Next by thread: Re: Finding Optimal Integer Ratio for Any Decimal Fraction