4a3841624d4c

Update
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 28 Aug 2023 11:30:25 -0400
parents b6a2dcc7df71
children d7537cf2acb0 076c59a9e421
branches/tags (none)
files README.markdown

Changes

--- a/README.markdown	Mon Aug 28 11:07:47 2023 -0400
+++ b/README.markdown	Mon Aug 28 11:30:25 2023 -0400
@@ -103,3 +103,18 @@
 past and forgotten about it.  The full precision is there, it was only rounding
 to display.  I set it to 6 to avoid this, but also the `PREFIX` key will show
 the full precision temporarily.
+
+Figured out (again) how to program the calculator to do logs of arbitrary bases.
+Essentially:
+
+    logₓ(y) = ln(y)/ln(x)
+
+              stack
+    LBL C     x y
+    LN        x ln(y)
+    x<->y     ln(y) x
+    LN        ln(y) ln(x)
+    ÷         ln(y)/ln(x) = logₓ(y)
+    RTN
+
+