Skip to main content

3 replies

21-Topaz II
October 10, 2022

Hi

Like this

Capture4.jpg

Cheers

Terry

25-Diamond I
October 10, 2022

You have to provide guess values for the three variables you'd like to vary and when you call "maximize" you have to use the function name as first argument.

Werner_E_1-1665441416595.png

The results vary significantly if you change the guesses!

Werner_E_2-1665441483739.png

 

In your file your wrote "Define p, q as constraints".

If you want r dependent on specific values of p and q, you could do this as follows:

Werner_E_0-1665442286759.png

But if this is what you are looking for you could as well use the derivative and the numeric "root" function 😉

Werner_E_0-1665442811584.png

 

 

ttokoro
21-Topaz I
21-Topaz I
October 10, 2022

The answer depends on p and q values.

image.pngimage.png

t.t.