On 03/08/2010 01:33 PM, Marshall Hampton wrote:
For numerical results you can use find_root. For example:
R.<x> = RDF[]
f = (sin(5.0*pi*x))^6
find_root(diff((sin(5.0*pi*x))^6,x),.01,.2)
gives
0.10000000000000001
as output.
See also
http://www.sagemath.org/doc/reference/sage/numerical/optimize.html#sage.numerical.optimize.find_maximum_on_interval
(and the other optimization functions on that page).
Thanks,
Jason
--
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-support
URL: http://www.sagemath.org