> readlib(extrema);
> f:= x^3 - 4*x^2 + x - 3;
> ex:= extrema(f,{},{x},'s'); stores the extreme value of f in ex
> evalf(ex); displays the extreme value in decimal form
> s; s contains the critical point(s) of f
> evalf(s); displays the critical point(s) in decimal form
The quantity s contains the critical point(s).
The quantity ex contains the extreme value of f.
> readlib(extrema);
> f:= -x/3 -y/6 +7/30*y^2 +3/2 +17*x*y/30 +x^2/2;
> ex:= extrema(f,{},{x,y},'s');
> evalf(ex); displays the extreme value in decimal form
> s; the critical point(s) of f
> evalf(s); displays the critical point(s) in decimal form
> with(student);
> ?minimize;
> ?maximize;
> ?student;
Written and Maintained by
Last modified: 07/23/07
Copyright © 19972023 Kevin G. TeBeest. All rights reserved.
Prof. Kevin G. TeBeest
Maple® is a registered trademark of Waterloo Maple Software.
Applied Mathematics
Kettering University