MathGroup Archive 2008

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

Search the Archive

Re: Plot results not right

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89903] Re: Plot results not right
  • From: Nazdrovje <nazdrovje at gmail.com>
  • Date: Tue, 24 Jun 2008 03:28:01 -0400 (EDT)
  • References: <g3nhbc$g6$1@smc.vnet.net>

The plot looks correct to me. Problem is, the term x^(2/3) causes the
output to be imaginary for negative values of x, and hence it cannot
be plotted in a 2D plot.

I assume the plot in your book is doing something else, for instance
using the absolute value of x in that term:

Plot[2 x - 3 Abs[ x]^(2/3) + 4, {x, -1, 6}]. At least, this yields a
curve in the 2nd and 3rd quadrant (counting CCW from upper right).

Cheers,

Naz

On 23 jun, 08:54, BrenB <GoogleGro... at ebesser.com> wrote:
> I'm new to Mathematica.
>
> I'm studying Calculus, and I'm trying to reproduce, in Mathematica,
> the graph results of an equation in my book.
>
> Plot[2 x - 3 x^(2/3) + 4, {x, -1, 6}]
>
> The output graph is correct, except there should be graphing in the
> 2nd and 3rd quadrant, and there is none.
>
> Is there another way to enter this equation into Mathematica to get
> the correct graph results?
>
> Thanks



  • Prev by Date: Re: Plot results not right
  • Next by Date: Re: Plot results not right
  • Previous by thread: Re: Plot results not right
  • Next by thread: Re: Plot results not right