Hello,

On Mar 20, 3:40 am, Bruce Bartlett <[email protected]>
wrote:
> When I type in
>
> plot(x^(1/3), -1, 1)
>
> Sage balks at me. Apparantly it doesn't understand that the cube root of a
> negative number is well defined. Is this a bug? I found no easy way to get
> around it.

In the documentation for plot (which you can see by doing plot?), it
says

To plot the negative real cube root, use something like the
following::

    sage: plot(lambda x : RR(x).nth_root(3), (x,-1, 1))

--Mike

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to