Find minimum or maximum of multi-variable function
|
08-16-2021, 07:47 PM
(This post was last modified: 08-16-2021 07:48 PM by jte.)
Post: #16
|
|||
|
|||
RE: Find minimum or maximum of multi-variable function
(08-16-2021 08:57 AM)rawi Wrote:Quote:I’m not sure whether there is a function or command which can find the minimum or maximum of multi-variable function e.g I just tried it out! I did notice what seems to be a slight typo: “Parmater” (instead of “Parameter”, I’m assuming…). Quote:You have to put in a function FUNCX() with L1(1) as x and L1(2) as y which in your case looks like this (> stands for STO |> ): I got the same results once I got all four squaring operations into my local FUNCX. Code: {23,95}▶L1; NMO(0.5,0.0001,500); L1 (With an Fmin of 41 reported in each case.) Of course, I had to play around and try some other values! Quote:So your problem seems to have multiple minima. Yes; the Advanced Graphing plot above (of a line segment) shows where the minima are. (To be more precise: the plot contains the intersection of the zero sets of the two partial derivatives. This intersection, in turn, contains the extrema [minima, maxima, and saddle points], excepting perhaps the endpoints of the segment [as there are divisions by zero there; some additional care is warranted there], as the partial derivatives exist. Second [partial] derivative tests can further clarify the situation, and could be plotted… or a little thought can be put in whilst looking at the original function. [To rule out the other types of extrema or to recognize it is the sum of distances between two points.]) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)