MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Log function


Bill Ginsberg wrote:
> I have Mathematica 5.0.1.  When I attempt to get the Log of a number "a" 
> by entering Log[a], it does not return the value but echoes back: 
> Log[a].  How is this fixed?

In your case I bet "a" is an integer.  Mathematica won't make numerical 
approximations unless you tell it to, so it is outputing the most exact 
form for Log[a] it knows.  If you want a numerical answer, try for 
example  N[Log[2]] or Log[2]//N, or Log[2.].

-- 
Curt Fischer


  • Prev by Date: Re: Log function
  • Next by Date: Re: Log function
  • Previous by thread: Re: Log function
  • Next by thread: Re: Log function