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