Skip to main content
1-Visitor
May 31, 2013
Solved

Possible to find the maximum of a function of functions?

  • May 31, 2013
  • 1 reply
  • 3200 views

In the attached MathCAD 14 worksheet, M(x) is a function of 5 other functions. I'd like MathCAD to tell me what the maximum value of M(x) is. Is there anyway to do this?

Best answer by Werner_E

Find attached one possible way

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
May 31, 2013

Find attached one possible way

dsochor1-VisitorAuthor
1-Visitor
May 31, 2013

Thank you very much Werner! I wasn't able to get the maximize function to work. I've never seen this iterative method or the lookup command before.

25-Diamond I
May 31, 2013

Ooops, using maximize() would be more natural and much easier. See attached. If it didn't work for you, maybe you forgot to provide a guess value.

The function max() I used works for vectors, matrices, scalars and strings, but not for functions. So it was necessary to create vectors for x and function values M(x).

Maximize() sure is the better way to do it.