Find extrema of a two variable function
Show older comments
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.
1 Comment
Walter Roberson
on 23 Jul 2019
Can you use the symbolic toolbox?
Answers (1)
Walter Roberson
on 23 Jul 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.
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!