MathGroup Archive 2008

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

Search the Archive

Re: Plot results not right

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

On Jun 23, 1:54 am, 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?

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

The reason for parts of the plot not showing in your original input
can
be seen from evaluating

In[6]:= (-1)^(2/3) // N

Out[6]= -0.5 + 0.866025 I

Since this is not a real number, Plot simply discarded this, and
other x<0 points.

Oleksandr Pavlyk

>
> Thanks



  • Prev by Date: Re: Plot results not right
  • Next by Date: Re: How to add a title to a cell and then collapse it?
  • Previous by thread: Re: Plot results not right
  • Next by thread: Re: Plot results not right