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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Maximum Value of a function

mw-2
1-Visitor

Maximum Value of a function

Hi,

I'm putting together a worksheet for beam loads and sizing. I can plot the bending moment of the applied loads on the beam however, I am having difficulty getting an automatic command to output the maximum bending moment from the function. I want to use the maximum bending moment value as a variable and input further along my worksheet.

Is there a reason why the maximise function does not work? Is there another method that I can use here?

I'm using Mathcad Prime 3.0 and have attached Mathcad and PDF copies of the file.

2 REPLIES 2
ValeryOchkov
24-Ruby IV
(To:mw-2)

Use the old good function MinErr

LucMeekes
23-Emerald III
(To:mw-2)

Although the short description of the Maximize() function mentions that it can find the maximum of a function within a range, its use is restricted to solve blocks (look up the full help info to find that).

In this case I would revert to highschool mathematics that says you can find extrema of a function there where the derivative of the function has zero's.

Now your function that you want to find the extrema of, M(x) is too awkardly defined (it's derivative is discontinuous at certain points) to subject to the differential operator:

But fortunately you have the derivative in the form of V(x). Ah, that one too is awkwardly defined, (because it is discontinuous at some points), and so:

But it's zero's are (known to be from the definition) as x=a and x=a+b.

So from the graph we discern that the maximum of M(x) occurs at x=a+b, and its value is M(a+b).

(note that this is the EXACT answer, the solution by Valery above is an approximation).

Problem solved.

Success!

Luc

Announcements

Top Tags