Re: Log Error
- To: mathgroup at smc.vnet.net
- Subject: [mg78823] Re: Log Error
- From: Peltio <peltio at twilight.zone>
- Date: Wed, 11 Jul 2007 05:55:02 -0400 (EDT)
- References: <f6vnds$qfr$1@smc.vnet.net>
- Reply-to: peltioNOSP at Mdespammed.com.invalid
As is often the case, nobody knew why. All we know so far is Where: comp.soft-sys.math.mathematica When: 10-07-07, 12.35.40 Who: Laurence Kohn What: see below > I had a question about something I found in Mathematica 5.2... I was > plotting Log[x-1]-2 with x = {0,10} and y = {-10,5} and strangely found > that the graph crossed the x-axes at approximately x == 8 ... > > It should be 101 of course, but it seemed like 8. Then I did an Nsolve > with the equation set to 0, and low and behold got an answer x == 8.38906. > > Is this a bug in mathematica or am I missing something here? Log[x] is the natural logarithm of x. The base is e (or E in Mathematica's notation). Indeed E^2+1 = 8.389056... What you are after is Log[10,x]. cheers, Peltio -- Invalid address in reply-to. Crafty demunging required to mail me. (Hint: use peltio at despammed dot com).