Minimum/Maximum of a Multivariate Function - Maple Help

Home : Support : Online Help : Tasks : Calculus - Multivariate : Optimization : Task/MinMaxMultivariateFcn

Minimum/Maximum of a Multivariate Function

 Description Compute the minimum and maximum values of a multivariate function.

Define a function.

 >
 ${f}{:=}\left({x}{,}{y}\right){→}{3}{+}{\mathrm{sin}}{}\left({x}\right){+}{2}{}{{\mathrm{cos}}{}\left({y}\right)}^{{2}}$ (1)

Compute the minimum of the function.

 > $\mathrm{minimize}\left(f\left(x,y\right)\right)$
 ${2}$ (2)

Compute the maximum of the function.

 > $\mathrm{maximize}\left(f\left(x,y\right)\right)$
 ${6}$ (3)
 Commands Used