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: [mg89921] Re: Plot results not right
  • From: Helen Read <hpr at together.net>
  • Date: Tue, 24 Jun 2008 03:31:27 -0400 (EDT)
  • References: <g3nhbc$g6$1@smc.vnet.net>
  • Reply-to: HPR <read at math.uvm.edu>

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.

The trouble is that Mathematica by default returns a complex root (in 
this case cube-root) of a negative number.

> Is there another way to enter this equation into Mathematica to get
> the correct graph results?

This will work.

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


-- 
Helen Read
University of Vermont


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