Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What's wrong with :

sage: log(1000,2).n()
9.96578428466209

Note that this isn't an exact answer (the exact answer is log(1000)/log(2)). But it's a reasonable numerical approximation of a quantity whose "exact" numerical expression would be infinite...

Further discussion deserves reading part III of this excellent book as a prerequisite...