Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Plot results not right

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89910] Re: Plot results not right
  • From: BrenB <GoogleGroups at ebesser.com>
  • Date: Tue, 24 Jun 2008 03:29:21 -0400 (EDT)
  • References: <g3nhbc$g6$1@smc.vnet.net>

I have received several answers to my question. Thanks to everyone who
responded.

David explained:

Plot[2 x - 3 (x^2)^(1/3) + 4, {x, -1, 6}]

Note that, for negative x, x^(2/3) and (x^2)^(1/3) are not the same in
Mathematica.

The latter expression gives a positive value, which is what you want,
while the former expression gives the _principal_ value of the 2/3
power, which has a nonzero imaginary part and so does not plot.




  • Prev by Date: Re: Happy Birthday Mathematica!
  • Next by Date: Re: Plot results not right
  • Previous by thread: Re: Plot results not right
  • Next by thread: Re: Plot results not right