Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
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.
Use the old good function MinErr
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