Solving Equations With logs



Marco Carmosino wrote:
> 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:

The CLISP implementation supports very large floating point numbers and there
is a Maxima variant for CLISP that can solve this.  If you really need to work
with such large numbers and would like to test this then let me know.

(%i1) find_root(log(n)/log(2)=10^6, n, 1, 10^310000);
(%o1) 9.9006562292958982506979236163019032507336242417875673328663961145317094\
833094861030546145512346483914824315070345837238835106589894163149274225650315\
729053723148693772328717754947136642389701258429144896147163384121886311037923\
980560077401362709605530705386671798123360615921792798327322364303228626065921\
E+301029

Regards
Douglas Crosher