Calculating Base-2 Logarithms

Calculating Base-2 Logarithms

There are a number of ways to make these calculations easily using either a calculator or Excel. You can calculate log2(X) in the following ways:

Excel: Use the built in formula LOG(Number, Base) => LOG(X,2)

Calculator: Rely on the following identity. This does require that your calculator has a XY function:

logZ(X) = log10(X)
log10(Z)
=> log2(X) = log10(X)
log10(2)

Note that you could use any base in place of log10, for example ln (base e).


File translated from TEX by TTH, version 2.21.
On 25 Sep 2001, 13:07.