Article View: aus.mathematics
Article #40Re: How to find a formula from a list of numbers
From: Barb Knox
Date: Tue, 06 Oct 2009 01:28
Date: Tue, 06 Oct 2009 01:28
58 lines
3613 bytes
3613 bytes
In article <EK-dnV5FoYzmRFTXnZ2dnUVZ_jKdnZ2d@westnet.com.au>,
Adam Nielsen <a.nielsen@remove.this.shikadi.net> wrote:
> > Note that for A >= 16, doubling A also doubles B'.
> > The best fit is
> > B' = A/16 * 1.91, truncated to 1 decimal place.
> >
> > 1.91/16 = 0.119375,
> > and your rational approximation for that is
> > 1/10 + 1/52 = 31/260 = 0.1192307
> >
> > Note that there are closer rational approximations, but any one that
> > provides the correct B' values to 1 decimal place is close enough.
>
> Ah, glad to see I was close! Thanks again. I've got all the current values
> sorted now, but I've discovered that the fan speeds seem to be reported on
> some sort of logarithmic scale:
>
> A | B
> ------+---------
> 128 | 8943 RPM / 943 RPM *
> 144 | 9727 RPM *
> 256 | 5493 RPM
> 512 | 2746 RPM
> 1285 | 1094 RPM
> 4096 | 343 RPM
> 8192 | 171 RPM
> 65535 | 21 RPM
>
> I'm not 100% sure about the first two values (marked with *) because the
> values were so large I'm not sure the manufacturer's program was drawing them
> on the screen properly.
>
> I *think* this is logarithmic - I can get an approximation of the curve using
> variations of -log(x), but I'm afraid that's as far I as can remember :-) If
> it's possible, an approximation using "simpler" operations (+, -, *, /) would
> be even better from a runtime efficiency point of view!
A little hacking around in Excel shows that this is a log-log
relationship. In particular:
log_2(B) = 20.44592638 - 1.002677224*log_2(A)
with a maximum absolute error of 0.010795444
With these coefficients, the B value for A=128 would be 11015.
> Thanks again,
> Adam.
HTH
--
---------------------------
| BBB b \ Barbara at LivingHistory stop co stop uk
| B B aa rrr b |
| BBB a a r bbb | Quidquid latine dictum sit,
| B B a a r b b | altum viditur.
| BBB aa a r bbb |
-----------------------------
Technical Details
Message-ID:
<see-6C28F8.14281106102009@mail.eternal-september.org>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!not-for-mailReferences:
<JOqdnbc8ud5gPFXXnZ2dnUVZ_v6dnZ2d@westnet.com.au> <ik9hc59at0uhkd54jr78j3ba55a8j7cesm@4ax.com> <see-3529E1.08572405102009@mail.eternal-september.org> <FtadnaK-YsVEvVTXnZ2dnUVZ_oKdnZ2d@westnet.com.au> <mq6dnbOR7_Sjv1TXnZ2dnUVZ_r6dnZ2d@westnet.com.au> <see-F90A00.12401205102009@mail.eternal-september.org> <EK-dnV5FoYzmRFTXnZ2dnUVZ_jKdnZ2d@westnet.com.au>Show Full Headers
Complete Article Headers
X-Google-Thread: dfcd5d83b8,ea449aa0d72efcd3 X-Google-Attributes: giddfcd5d83b8,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!not-for-mail From: Barb Knox <see@sig.below> Newsgroups: aus.mathematics Subject: Re: How to find a formula from a list of numbers Date: Tue, 06 Oct 2009 14:28:11 +1300 Organization: I'm not unemployed; I'm a consultant Lines: 58 Message-ID: <see-6C28F8.14281106102009@mail.eternal-september.org> References: <JOqdnbc8ud5gPFXXnZ2dnUVZ_v6dnZ2d@westnet.com.au> <ik9hc59at0uhkd54jr78j3ba55a8j7cesm@4ax.com> <see-3529E1.08572405102009@mail.eternal-september.org> <FtadnaK-YsVEvVTXnZ2dnUVZ_oKdnZ2d@westnet.com.au> <mq6dnbOR7_Sjv1TXnZ2dnUVZ_r6dnZ2d@westnet.com.au> <see-F90A00.12401205102009@mail.eternal-september.org> <EK-dnV5FoYzmRFTXnZ2dnUVZ_jKdnZ2d@westnet.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: news.eternal-september.org U2FsdGVkX18+toXG0zRtLGfHqXOM+/IptsrzNrWPXFOI5veCMig67Joav10NwvZglH30h6LbWFlagnU7gwa52SG/Ka408+9XckxZpVGS0fGcW57qmxQEF8D3GavkIQhM0DYg7pud0jYeHtuKSVgvzA== X-Complaints-To: abuse@eternal-september.org NNTP-Posting-Date: Tue, 6 Oct 2009 01:28:22 +0000 (UTC) X-Auth-Sender: U2FsdGVkX18vcVX6VK5tOmc3IwVQ6o/L2seVnxhPQkU= Cancel-Lock: sha1:ogGj5jOliQragaY+DdLVPGHMCOs= User-Agent: MT-NewsWatcher/3.5.3b3 (PPC Mac OS X)