Minimum/Maximum of a Multivariate Function - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

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

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam