Skip to main content
1-Visitor
May 13, 2020
Solved

Maximize 4 variables MathCAD 6 Prime

  • May 13, 2020
  • 1 reply
  • 2533 views

Hello!

I'm having trouble using the maximize function for 4 variables that I need to optimize. I'm using Solve Block, all the variables are defined and even then it hasn't worked.
I'm sending the file in case someone can please help me.
Thank you!

Best answer by Werner_E

Prime is right when it moans about a unit mismatch. You forgot to add units for the constants in the last few inequations.

Furthermore you have typed square brackets twice. This creates a matrix. Use parentheses only to structure your expressions.

Werner_E_0-1589410481744.png

 

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
May 13, 2020

Prime is right when it moans about a unit mismatch. You forgot to add units for the constants in the last few inequations.

Furthermore you have typed square brackets twice. This creates a matrix. Use parentheses only to structure your expressions.

Werner_E_0-1589410481744.png

 

21-Topaz II
May 14, 2020

Hi,

 

I get a different lower answer for Wp.

You define some angles at the start of the sheet.  I have changed them to include the unit degree..  I have changed all the instances of the unit deg by deleting them in the solve block.

 

Capture.JPG

 

Cheers

Terry

25-Diamond I
May 14, 2020

@terryhendicott wrote:

Hi,

 

I get a different lower answer for Wp.

Can't say why. Maybe you missed to delete a "deg" when you cleaned up the worksheet?