Re: Log function
- To: mathgroup at smc.vnet.net
- Subject: [mg57359] Re: Log function
- From: Curt Fischer <tentrillion at gmail.NOSPAM.com>
- Date: Wed, 25 May 2005 06:03:09 -0400 (EDT)
- References: <d6us3g$j02$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
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