Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Another way to do it is using the method x.nth_root(3) for real numbers x, then you can use something like

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

what gives the correct plot.

Another way is to do it is using use the method x.nth_root(3) for real numbers x, then you can use something like.

Using this,

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

what gives the correct desired plot.

Another way is to use the method x.nth_root(3) for real numbers x.

Using this,this

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

gives the desired plot.