From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 23521 invoked from network); 24 Apr 2020 21:26:58 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with UTF8ESMTPZ; 24 Apr 2020 21:26:58 -0000 Received: (qmail 19277 invoked by alias); 24 Apr 2020 21:26:46 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 45717 Received: (qmail 27697 invoked by uid 1010); 24 Apr 2020 21:26:46 -0000 X-Qmail-Scanner-Diagnostics: from ciao.gmane.io by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.2/25786. spamassassin: 3.4.4. Clear:RC:0(159.69.161.202):SA:0(-1.6/5.0):. Processed in 3.708294 secs); 24 Apr 2020 21:26:46 -0000 X-Envelope-From: gcszd-zsh-workers@m.gmane-mx.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at m.gmane-mx.org designates 159.69.161.202 as permitted sender) X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: zsh-workers@zsh.org To: zsh-workers@zsh.org From: Emanuel Berg Subject: Re: zsh functions, bicycle tire and gas law (PV = nRT) Date: Fri, 24 Apr 2020 23:26:01 +0200 Message-ID: <87tv18h8ye.fsf@ebih.ebihd> References: <87v9loiyd8.fsf@ebih.ebihd> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cancel-Lock: sha1:ABiW0e9A5FxQe1EuEX96ukVrGKc= Mail-Copies-To: never Some interesting data from this program [1], especially the meagre improvements from switching from 23 to 25 - not even 3% more air! # MTB twenty-niner, 57-622 65 PSI # $ bike-tire-air 57 622 65 # $ V = 544 cm3 # $ 0.100902 moles of air gas # road bike, maximum PSI, 23-622 145 PSI # $ bike-tire-air 23 622 145 # $ V = 65 cm3 # $ 0.026895 moles of air gas # (/ 0.026895 0.100902) ; 26% of MTB tire air # road bike, realistic PSI for ~80 kg rider, 23-622 115 PSI # $ bike-tire-air 23 622 115 # V = 65 cm3 # 0.021330 moles of air gas # (/ 0.021330 0.100902) ; 21% # road bike: is it worth upgrading from 23 mm to 25 mm? # $ bike-tire-air 23 622 115 # V = 65 cm3 # 0.021330 moles of air gas # $ bike-tire-air 25 622 100 # V = 77 cm3 # 0.021972 moles of air gas # (- 100 (* 100 (/ 0.021330 0.021972))) ; 2.9% improvement! :O # budget tires # $ bike-tire-air 28 622 85 # V = 97 cm3 # 0.023528 moles of air gas # (/ 0.023528 0.100902) ; 23% [1] https://dataswamp.org/~incal/conf/.zsh/air -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal