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

24-Ruby I

## 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
24-Ruby IV
(To:ValeryOchkov)

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).

24-Ruby I
(To:Werner_E)

Ich bedanke mich herzlich, Werner!

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

24-Ruby IV
(To:ValeryOchkov)

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

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

Hope Google translate got it right.

24-Ruby I
(To:Werner_E)
 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

24-Ruby IV
(To:ValeryOchkov)
 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.

24-Ruby I
(To:Werner_E)
 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

24-Ruby IV
(To:ValeryOchkov)

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

24-Ruby I
(To:Werner_E)

Not work in Prime

Werner and all - help please me

24-Ruby IV
(To:ValeryOchkov)

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.

24-Ruby IV
(To:ValeryOchkov)

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

24-Ruby I
(To:Werner_E)
 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

24-Ruby I
(To:Werner_E)
 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!

24-Ruby IV
(To:ValeryOchkov)

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.

24-Ruby IV
(To:ValeryOchkov)

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.

24-Ruby IV
(To:Werner_E)

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.

24-Ruby I
(To:ValeryOchkov)

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

Thermal Engineering studies with Excel, Mathcad and Internet

Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."