MathGroup Archive 1998

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

Search the Archive

Re: Re: Unexpected results

  • To: mathgroup at smc.vnet.net
  • Subject: [mg14337] Re: [mg14311] Re: [mg14212] Unexpected results
  • From: Martin Kraus <mkraus at theorie3.physik.uni-erlangen.de>
  • Date: Thu, 15 Oct 1998 00:28:42 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

> Daniel,
> 
>     I think what you are looking for is Plot[10^Log[10,x],{x,0,10}]?
> 
>     Best regards,
> 
>     Martin
> 
> 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.
> >
> > Dan
> 

In fact Log[x] gives the logarithm to basis E (often denoted as "ln x").
Thus 10^Log[x] is equal to x^Log[10] and not to x.

Greetings

another Martin :)


  • Prev by Date: How to load user defined packages?
  • Next by Date: 2 ticks on a 2D plot
  • Previous by thread: Re: Unexpected results
  • Next by thread: Subscripting Matrices (Syntax Question ?)