Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mathcad Max of a function of a function 1

Status
Not open for further replies.

dlybbert

Mechanical
Joined
Feb 23, 2011
Messages
18
Location
CA
I am trying to find a maximum of a function that calls up a function. I just can't get the syntax correct for the maximize function (I can when using it for a function of single level variables though).

I have attached the file as MathCAD 15.0, and 11.
 
You will need to define the function as a composite function. In Mathcad 15, you can do this a local function definition within the Maximize function. The way you have tried to apply the maximize function means that it is attempting to maximize d, which has no finite maximum.

The attached (linked?) file is saved in M11 format but should be run under M15 (well, OK, M13 or greater) to see the effect of the local function definition.
 
 http://files.engineering.com/getfile.aspx?folder=be0b3858-d75b-4ea7-bdd2-cac85b501094&file=Maximize_me_11.mcd
That is excellent! Thanks for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top