# [Maxima] logarithms of different bases

Doug Stewart dastew at sympatico.ca
Wed Mar 12 21:11:40 CDT 2008

Justin Harford wrote:
> Hello
>
> I am just starting in on logarithms in math and i noticed that maxima,
> if you write something like
>
> log(2)
>
> it takes it as base 10.
Are you sure. My Maxima  does this in base 2

any way you can get the log to any base by doing:

log(10)/log(3)

this will give you the  base 3 log of 10

doug

>  Is there a way to change the base?  And can I
> make it do e?  2.718 or \ln ?
>
>
>
> Regards
> Justin Harford
>
> Into this wild abyss, the weary fiend stood on the brink of hell and
> looked awhile, pondering his voyage
>
> John Milton