#12935: Add another cube root plotting example to plot doc
-----------------------------+----------------------------------------------
   Reporter:  kcrisman       |             Owner:  mvngu   
       Type:  enhancement    |            Status:  new     
   Priority:  minor          |         Milestone:  sage-5.1
  Component:  documentation  |          Keywords:          
Work issues:                 |   Report Upstream:  N/A     
  Reviewers:                 |           Authors:          
  Merged in:                 |      Dependencies:          
   Stopgaps:                 |  
-----------------------------+----------------------------------------------
 Gregory Bard of the University of Wisconsin, Stout has the following
 solution for the always-vexing cube-root plotting issue.
 {{{
 def cuberoot(x):
     return sign(x)*((x*sign(x))^(1/3))

 plot( cuberoot(x), -4, 4)
 }}}
 Probably just adding `plot(sign(x)*(x*sign(x))^(1/3))` or something to
 [http://www.sagemath.org/doc/reference/sage/plot/plot.html the plot doc]
 (search for 'cube') as another example would be sufficient for now.  I
 don't know whether we would want to add a whole new function, since we'd
 then need one for every odd integer root function... or?  Maybe that would
 be ok, `real_nth_root()`...

 Putting under documentation component, feel free to change if graphics is
 more appropriate.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12935>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
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-trac?hl=en.

Reply via email to