MathGroup Archive 1998

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

Search the Archive

Re: Unexpected results

  • To: mathgroup at smc.vnet.net
  • Subject: [mg14277] Re: Unexpected results
  • From: dreissNOSPAM at nospam.earthlink.net (David Reiss)
  • Date: Mon, 12 Oct 1998 13:51:56 -0400
  • Organization: EarthLink Network, Inc.
  • References: <6vf4vc$dg9@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In article <6vf4vc$dg9 at smc.vnet.net>, Daniel Zepeda
<dzepeda at ringer.cs.utsa.edu> 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


Hi,

Log[x]  computes the Log to the base E (i.e., the natural log).  What
you want is

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

or perhaps

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


Regards,

David Reiss

-- 
David Reiss
dreissNOSPAM at nospam.earthlink.net
To send personal email, remove the words  "nospam" and "NOSPAM" from the
email address


  • Prev by Date: Re: Unexpected results
  • Next by Date: RE: 3-D to 2-D slice revisited
  • Previous by thread: Re: Unexpected results
  • Next by thread: Re: Unexpected results