Find extrema of a two variable function

I want to find the extrema (max and minimun) of the next function, such that -2<=x<=2 and -2<=y<=2
(sqrt(40*(x.^2).*(y.^2) +164*x.^2 -152*(x.^2).*(y)+ 8.*x.*(y.^2)+ 156*x -120*x.*y +26*y.^2 -56*y +45))./(-4*(x.^2)+4*x+3)
But I dont get no conclusive result.

Réponses (1)

Walter Roberson
Walter Roberson le 23 Juil 2019

0 votes

The denominator can be 0 at two x values in that range, and the denominator can change sign. Depending on the sign of the denominator close to those two x, the value will approach arbitrarily close to +/- infinity.

Catégories

En savoir plus sur Mathematics dans Centre d'aide et File Exchange

Produits

Version

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by