Re: Plot results not right
- To: mathgroup at smc.vnet.net
- Subject: [mg89901] Re: Plot results not right
- From: Narasimham <mathma18 at hotmail.com>
- Date: Tue, 24 Jun 2008 03:27:37 -0400 (EDT)
- References: <g3nhbc$g6$1@smc.vnet.net>
On Jun 23, 11: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?
>
> Thanks
Did you want to see a parabola? Check parentheses. Exponents have
higher hierarchy.The branch you indicated and even the other half, lie
entirely in the first quadrant.
Plot[{2 x + 3 x^(2/3) + 4, 2 x - 3 x^(2/3) + 4, 2 x - 3 x^2/3 + 4},
{x, -2, 4}, GridLines -> Automatic, AspectRatio -> Automatic]