I am interested in the use of Sage as a teaching tool at all grade
levels.  At the moment, I'm trying to weave Sage into an introductory
algebra curriculum.

I can graph all the basic functions with plot(x), replacing x with
x^2, x^3, 1/x, etc.  The one I can't get to work is x^(1/3).  I've
tried to express the cube root function several different ways.  The
expression I'm using now is:

sage:
show(plot(x^(1/3),-10,10),figsize=[5,5],xmin=-10,xmax=10,ymin=-10,ymax=10)

I receive the error message  "TypeError: 'float' object is
unsubscriptable"

Also, is the expression above the most succinct way to generate a
graph with this kind of view, x and y ranging -10 to 10?

Thanks for any advice.

Andy
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
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