MathGroup Archive 1998

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

Search the Archive

Re: Unexpected results


Dan,

Log[x] is the natural (base e) log.  For the base 10 log you need to use
Log[10, x].

Plot[10^Log[10, x], {x, 0,10}];

See on-line help for Log.

Bob Hanlon

In a message dated 10/7/98 5:39:30 AM, dzepeda at ringer.cs.utsa.edu wrote:

>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. 


  • Prev by Date: Re: [Q] Help with PrimitiveRoot
  • Next by Date: Re: Unexpected results
  • Previous by thread: Re: Unexpected results
  • Next by thread: Re: Unexpected results