• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

mathcad: minimum function to 2 variables

  • Thread starter Thread starter Benn
  • Start date Start date

Benn

Guest
Hello everyone!
I am performing the minimum of a function in two variables, say f(x,y), where x and y are two corners. I write given and then insert two test values of x and y, then minimize with sol:=minimize(f,x,y) and get me the x and y corners that minimize the function.
I realized, however, that if I change the test values with other random values, also x and y change and therefore also changes the minimum value of the function. I don't think that's normal. Can you help me?
Thank you! !
Benn:
 
and the presentation? and the rules? ? ?
All right, save yourself for the little prince. .

I don't know what you mean by test values. f function should be independent of these values, right?

I don't know mathcad, but if you try to post the function I can do a matlab test.

you can also solve the equation given by the equal gradient to zero and see if you get the same result.
 
Sorry I didn't show up earlier.
cmq function depends on these variables.
the test values would be two random values of the variables...and from what I understood are necessary to use the applications "given","find" and others.. .
 

Attachments

  • Cattura.webp
    Cattura.webp
    9.9 KB · Views: 22

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top