#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 | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
---------------------------------+------------------------------------------
Comment (by kcrisman):
> Can I suggest `plot(sign(x)*(x*sign(x))^(1/3), (x,-4,4))` as the code to
add?
That's what I attempted to suggest above.
The point of adding this example was that a number of users (including the
originator of this example) thought that students wouldn't know what
lambda functions were - not to mention the dot notation. I guess I view
them as equally complicated, though the `sign` solution has the advantage
that most of use probably implicitly use this when discussing the absolute
value function as a piecewise linear function and not just "make it
positive" early in any course where cube roots would be plotted.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12935#comment:3>
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.