[Maxima] Solving Equations With logs

Marco Carmosino mogunus at gmail.com
Mon Feb 18 15:37:40 CST 2008


Thanks very much, numeric solutions are fine and find_root works great for
two equations. However, I'm having trouble solving where I just want to set
my equation equal to a constant:

(%i50) find_root(log2(n)=10^6, n, 0, 10^60);
                                     log(n)
(%o50)           find_root(------ = 1000000, n, 0.0, 1.0E+60)
                                      log(2)

A numeric approximation to the solution of equations of the form log2(n) =
10^6 would also be fine. I have also tried:

(%i52) solve(log2(n)=10^6,n);

This produces a very, very long string of numbers.

Some background: I'd like to be able to automate comparing the running time
of algorithms to each other, for different times T, so I can sort a table of
them.

Thanks

--Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.math.utexas.edu/pipermail/maxima/attachments/20080218/ef5011d9/attachment.htm 


More information about the Maxima mailing list