Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

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



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