MathGroup Archive 2008

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

Search the Archive

Re: Plot results not right


BrenB 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
>
>   
That's because  x^ r  could be complex, in general ! This is not the 
case here, but Mathematica does not automatically investigates the question.
          Just try another formulation :

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

-- 
*********************************

    Claude Manté

UMR CNRS 6117 LMGEM
http://www.com.univ-mrs.fr/LMGEM/

Centre d'Océanologie de Marseille
Campus de Luminy, Case 901
13288 MARSEILLE Cedex 09
tel : (+33) 491 829 127
fax : (+33) 491 829 119


********************************* 



  • 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: Plot results not right
  • Next by thread: Plot results not right