[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: program to compute gears, with table
From: |
David Scheidt |
Subject: |
Re: program to compute gears, with table |
Date: |
Fri, 8 Sep 2017 19:59:16 +0000 (UTC) |
User-agent: |
tin/2.0.0-20110823 ("Ardenistiel") (UNIX) (NetBSD/7.1 (i386)) |
In rec.bicycles.tech Joerg <news@analogconsultants.com> wrote:
:On 2017-09-08 10:52, Emanuel Berg wrote:
:> Skip Montanaro wrote:
:>
:>> * Why the 1.0 divisor when computing gear?
:>
:> As explained, otherwise it'll be integer
:> division. But I think that qualifies as a hack
:> (not an ugly hack tho) so there is no shame in
:> spotting it an "error" :)
:>
:>> * You can skip the radius and use wheel
:>> (diameter) directly in computing
:>> the circumference.
:>
:> Right!
:>
:>> * It never occurred to me to do this in Lisp.
:>> I always just use an online calculator, like:
:>>
:>>
http://www.gear-calculator.com/?GR=DERS&KB=34,50&RZ=12,13,15,17,19,21,23,25&UF=2150&TF=90&SL=2.6&UN=KMH
:>
:> Let's agree there is no need to do it in Lisp.
:> Only a desire :)
:>
:Why make things complicated? I do such stuff with spreadsheets. That's
:what they were invented for. Part of every office software including
:free ones.
I rewrote his code in common lisp in less time than it takes excel to
start.
--
sig 106
- Re: program to compute gears, with table, (continued)
- Re: program to compute gears, with table, Skip Montanaro, 2017/09/08
- Re: program to compute gears, with table, David Scheidt, 2017/09/08
- Message not available
- Re: program to compute gears, with table, Emanuel Berg, 2017/09/08
- Re: program to compute gears, with table, Joerg, 2017/09/08
- Re: program to compute gears, with table,
David Scheidt <=
- Re: program to compute gears, with table, Emanuel Berg, 2017/09/08
- Re: program to compute gears, with table, Joerg, 2017/09/09
- Re: program to compute gears, with table, Emanuel Berg, 2017/09/09
- Re: program to compute gears, with table, David Scheidt, 2017/09/09
- Re: program to compute gears, with table, Joerg, 2017/09/10
- Re: program to compute gears, with table, DougC, 2017/09/23
- Re: program to compute gears, with table, Emanuel Berg, 2017/09/23
- Re: program to compute gears, with table, Joy Beeson, 2017/09/23
- Re: program to compute gears, with table, Tosspot, 2017/09/11
- Re: program to compute gears, with table, Emanuel Berg, 2017/09/11