The Wolfram Language represents the exponential constant as E.
Log gives the natural logarithm of an expression:
In[1]:= | ![]()
⨯
Log[E^2] |
Out[1]= | ![]() |
Calculate the log base 2:
In[2]:= | ![]()
⨯
Log[2, 64] |
Out[2]= | ![]() |
Make plots on a logarithmic scale:
In[1]:= | ![]()
⨯
LogPlot[E^x, {x, 1, 5}] |
Out[1]= | ![]() |
Make both axes logarithmic:
In[2]:= | ![]()
⨯
LogLogPlot[x^2 + x^3, {x, 1, 100}] |
Out[2]= | ![]() |