Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Log function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg57332] Re: [mg57297] Log function
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Wed, 25 May 2005 06:02:36 -0400 (EDT)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

If the argument is an exact number, then the result will be exact, i.e., 
unevaluated.  Use an inexact argument or force numerical evaluation using N.

Log[2]

log(2)

Log[2.]

0.693147

Log[2]//N

0.693147


Bob Hanlon

> 
> From: Bill Ginsberg <eqmc2 at aol.com>
To: mathgroup at smc.vnet.net
> Date: 2005/05/24 Tue AM 05:12:34 EDT
> To: mathgroup at smc.vnet.net
> Subject: [mg57332] [mg57297] Log function
> 
> 
> 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?
> 
> 
> 


  • Prev by Date: Re: Mathlink platform names of opteron and ia32 "Linux" conflicting - Any Wolfram person here?
  • Next by Date: Re: Sorting nested list
  • Previous by thread: Re: Log function
  • Next by thread: Re: Log function