cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Maximize EQUATION

SP_9781969
7-Bedrock

Maximize EQUATION

How to I maximize result for the equation 

3 REPLIES 3

Hi

Like this

Capture4.jpg

Cheers

Terry

Werner_E
25-Diamond I
(To:SP_9781969)

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
20-Turquoise
(To:SP_9781969)

The answer depends on p and q values.

image.pngimage.png

Announcements

Top Tags