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/Minimize or Find a root (zero) of derivat...

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

03-30-2013
03:08 AM

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

03-30-2013
03:08 AM

Maximize/Minimize or Find a root (zero) of derivative

I can use the Maximize function for a finding only a one point.

And I must use the root function (not Maximize) for the creating f function.

Can you help me to use only the Minimize function here.

The problem: root(y(x), x) but Maximize(y, x)

See the picture and the Mathcad-sheet with cloud functions in attach.

16 REPLIES 16

03-30-2013
05:40 AM

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

03-30-2013
05:40 AM

Is only a matter of the order of the parameters.

The following works about more than ten times faster than the root version (which seems to be the reason you wanted a maximize version, I think).

03-30-2013
11:21 AM

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

03-30-2013
11:21 AM

Ich bedanke mich herzlich, Werner!

z(x, y) is not equal z(y, x)

03-30-2013
12:43 PM

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

03-30-2013
12:43 PM

Не вызывает случится, с удовольствием, Валерий!

or is it

Не выклікае здарыцца, з задавальненнем, Валерый!

Hope Google translate got it right.

03-30-2013
01:51 PM

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

03-30-2013
01:51 PM

Werner Exinger wrote:

Не вызывает случится, с удовольствием, Валерий!

or is it

Не выклікае здарыцца, з задавальненнем, Валерый!Hope Google translate got it right.

No - in this case the Google tranlator was not correct. The second is like Russian but not Russian.

Sorry, I know German ein bischen. Without Google

03-30-2013
03:02 PM

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

03-30-2013
03:02 PM

No - in this case the Google tranlator was not correct. The second is like Russian but not Russian.

Sorry, should have been something like "You are welcome, Valery" - "Keine Ursache, gern geschehen, Valery!"

The second was Belarusian ("weißrussisch") according to Google.

03-31-2013
12:33 AM

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

03-31-2013
12:33 AM

Werner Exinger wrote:

No - in this case the Google tranlator was not correct. The second is like Russian but not Russian.

Sorry, should have been something like "You are welcome, Valery" - "Keine Ursache, gern geschehen, Valery!"

I

03-31-2013
07:50 AM

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

03-31-2013
07:50 AM

Probably I should have been using English to Russian rather than German to Russian.

04-01-2013
09:15 AM

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

04-01-2013
09:15 AM

Not work in Prime

Werner and all - help please me

04-01-2013
12:58 PM

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

04-01-2013
12:58 PM

Guess you can't post the file in Prime2 format, right?

What did they change. Don't remember having read anything about changes in maximize but then I may be wrong as I don't use Prime regularily because of a big antipathy.

04-01-2013
04:43 PM

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

04-01-2013
04:43 PM

In Prime2 the capital M throws an error. Use "maximize" instead of "Maximize".

But the error from your pix seems to be different.

Can't duplicate as I would need to convert the referenced sheet, too which I can't as of the locked areas.

I just read in Prime help that maximize works only in conjunction with a solve block!?

BTW, why would anyone use Prime? Voluntariliy!!??

04-02-2013
12:51 AM

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

04-02-2013
12:51 AM

Werner Exinger wrote:

BTW, why would anyone use Prime? Voluntariliy!!??

No - masochism

One joke.

Police dispersed in Moscow yesterday an unauthorized meeting of masochists.

Both sides have been very enjoying.

PS

Photo: He protested against the replacement of Mathcad 15 on Mathcad Prime

04-02-2013
06:57 AM

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

04-02-2013
06:57 AM

Werner Exinger wrote:

In Prime2 the capital M throws an error. Use "maximize" instead of "Maximize".

But the error from your pix seems to be different.

Can't duplicate as I would need to convert the referenced sheet, too which I can't as of the locked areas.

See the template for Prime 2 in attach

Werner Exinger wrote:

I just read in Prime help that maximize works only in conjunction with a solve block!?

In Prime 3 without a solve block!

04-02-2013
11:21 AM

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

04-02-2013
11:21 AM

I have just tried in Prime using a solve block and "maximize" with the same error you got. The problem however seems not to be tolerance but it looks like maximize would not work with multi parameter functions in Prime.

04-02-2013
11:46 AM

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

04-02-2013
11:46 AM

Maximize works with multiparaneter functions, too, but it seems that Prime has to be allowed to alter all the parameters then.

Solution: Dont know about Prime3 and Maximize, but in Prime2 it works using a solve block and an additional function inside the solveblock.

04-02-2013
12:04 PM

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

04-02-2013
12:04 PM

Here is a second solution without any auxiliary function. Again you would need a solve block. Personally I would prefer my first solution as I don't know to what precision the constrained p=P would be satisfied and if the given "guess value" for p would be adequate in all situations.

11-15-2015
02:49 PM

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

11-15-2015
02:49 PM

The continue of this discussion in the chapter 8 of the book

Thermal Engineering studies with Excel, Mathcad and Internet