Marshall Hamilton ha scritto:
> Perhaps this is the kind of thing you want?
>
> sage: var('x')
> sage: f = -x^4 + 9*x^3 - 23*x^2 + 31*x - 15
> sage: f.find_maximum_on_interval(0,6)
>
>   
Is it equivalent to what we get with
plot(f,(0,6)).get_minmax_data()
 ?


> you can get the documentation for that.  For symbolic answers you
> could do
>
> sage: solve(diff(f,x)==0,x)
>
> but of course that is more limited in what it can answer.
>   
In particular, it does not solve correctly trigonometric equations : it 
finds only one solution and looses if a higher local maximum exists at 
another place.


Laurent

-- 
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

Reply via email to