Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <pan$a57c0$4c040b81$8dcb6976$beba7258@linux.rocks>
Deutsch   English   Français   Italiano  
<pan$a57c0$4c040b81$8dcb6976$beba7258@linux.rocks>

View for Bookmarking (what is this?)
Look up another Usenet article

From: Farley Flud <ff@linux.rocks>
Subject: Re: Problem For Physfitfreak (monospace font required)
Newsgroups: comp.os.linux.advocacy,sci.physics
Followup-To: comp.os.linux.advocacy
References: <pan$1e274$4cabc85a$bdc256fd$f948ec9b@linux.rocks> <vg4cgv$br8c$2@solani.org>
Mime-Version: 1.0
Message-Id: <pan$a57c0$4c040b81$8dcb6976$beba7258@linux.rocks>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 71
Path: ...!news.misty.com!weretis.net!feeder9.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Sat, 02 Nov 2024 10:32:40 +0000
Nntp-Posting-Date: Sat, 02 Nov 2024 10:32:40 +0000
X-Received-Bytes: 2012
Organization: UsenetExpress - www.usenetexpress.com
X-Complaints-To: abuse@usenetexpress.com
Bytes: 2346

On Sat, 2 Nov 2024 00:15:11 -0500, Physfitfreak wrote:

> 
> In an absolute way? Disregarding unrelated limitations?
> 
> Then that base would be infinity :) Then any real and complex number 
> will be expressed in just one digit :)
>

Good guess.

This stuff is quite new to me.  I just stumbled upon it when
doing some research on ternary (i.e. base 3) computers.

It's all explained here:

https://en.wikipedia.org/wiki/Optimal_radix_choice

The "cost" of representing a number N in base b is (monospace
font required):

          log(N)
b * floor(------ + 1)
          log(b)


Letting N --> inf we get the asymptotic cost:

   b
 ------
 log(b)


Here is an image of the plot of this relation:

https://i.postimg.cc/CLwHyyzP/asymptotic-cost.png

The minimum of this curve will give the lowest "cost"
of expression.

Take the derivative, set it equal to zero, and solve.

Using Maxima:

diff(b/log(b),b);
 
    1         1
 ------ - -------
 log(b)      2
          log (b)


Set equal to zero and solve:

solve(diff(b/log(b),b) = 0, b);

[b = %e]

There it is!  The most efficient number base is e, Euler's
constant.

But since irrational bases are not practical, we use the closest
integer base which is 3.

Thus, ternary (base 3) computers are the most efficient in
storing numbers.



-- 
Systemd: solving all the problems that you never knew you had.