Minimum/Maximum of a Multivariate Function - Maple Programming Help

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