Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Maximize 4 variables MathCAD 6 Prime

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-13-2020
06:26 PM

05-13-2020
06:26 PM

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!

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-13-2020
06:55 PM

05-13-2020
06:55 PM

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.

4 REPLIES 4

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-13-2020
06:55 PM

05-13-2020
06:55 PM

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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-13-2020
10:07 PM

05-13-2020
10:07 PM

Re: Maximize 4 variables MathCAD 6 Prime

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.

Cheers

Terry

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-13-2020
10:42 PM

05-13-2020
10:42 PM

Re: Maximize 4 variables MathCAD 6 Prime

@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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-14-2020
11:00 AM

05-14-2020
11:00 AM

Re: Maximize 4 variables MathCAD 6 Prime

Hi guys!

Perfect, that was it!

Thank you so much for your help, you guys are great!

🤗