Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Three options, 1) symbolic, 2) ployroot 3) try finding root of M(x)/M'(x), but I guess root has trouble because the function does not cross the axis.
Hi Wayne,
Thanks for your help.
About the piecewise function, we know M(200)=0. The root x=200 is existing. But the root(f,x,a,b) should be monotonic function in the neighbourhood of the root value. So we can use ployroot function resolving the special root.
Thanks again.