Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

# Re: zsh functions, bicycle tire and gas law (PV = nRT)

• X-seq: zsh-workers 45717
• From: Emanuel Berg <moasenwood@xxxxxxx>
• To: zsh-workers@xxxxxxx
• Subject: Re: zsh functions, bicycle tire and gas law (PV = nRT)
• Date: Fri, 24 Apr 2020 23:26:01 +0200
• Cancel-lock: sha1:ABiW0e9A5FxQe1EuEX96ukVrGKc=
• List-help: <mailto:zsh-workers-help@zsh.org>
• List-id: Zsh Workers List <zsh-workers.zsh.org>
• List-post: <mailto:zsh-workers@zsh.org>
• List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
• Mail-copies-to: never
• Mail-followup-to: zsh-workers@xxxxxxx
• Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
• References: <87v9loiyd8.fsf@ebih.ebihd>

```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

```

Messages sorted by: Reverse Date, Date, Thread, Author