Re: Unexpected results
- To: mathgroup at smc.vnet.net
- Subject: [mg14288] Re: Unexpected results
- From: "W. K. Bertram" <wkb at ansto.gov.au>
- Date: Tue, 13 Oct 1998 01:21:09 -0400
- Organization: Australian Nuclear Science and Technology Organisation
- References: <6vf4vc$dg9@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Daniel Zepeda wrote: > Hi, > > Why doesn't > > Plot[10^Log[x], {x, 0,10}] > > plot what I expect? I expect it to plot y=x, but it doesn't, it plots an > what looks like an exponential curve. > Hi, Try: Plot[E^Log[x], {x, 0,10}] or Plot[10^Log[10,x], {x, 0,10}] and you,ll get you straight line. In Mathematica Log[x] is the natureal logarithm ( ie. to the base e) Cheers, Bill