#11258: Add documentation for plotting max and min functions
---------------------------+------------------------------------------------
Reporter: kcrisman | Owner: jason, was
Type: enhancement | Status: new
Priority: major | Milestone:
Component: graphics | Keywords: beginner
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
---------------------------+------------------------------------------------
Comment(by kcrisman):
Here's another example of what can go wrong, though it's not related to
plotting.
{{{
@interact
def _(M = matrix(RR,[[1,-1],[-1,1]]),auto_update=False):
f1(p) = (M[1,0] - M[0,0])*p+M[0,0]
f2(p) = (M[1,1] - M[0,1])*p+M[0,1]
# sol1 = find_maximum_on_interval(lambda y:
min_symbolic(f1(y),f2(y)),0,1)[0]
}}}
This is commented out because it does the wrong thing. The minimum it
finds is the comparison of f1 and f2 as Python objects or whatever.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11258#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.