J M schrieb: Thank you, In my case however the 'x' term is not in matrix form, it is a series. Please find the attached file to see the problem. I know that the maximum point can be found by setting the derivative of the function equal to zero but this will be impossible as the model grows in complexity. |
As you do not want to turn your vector E into a function and use the derivative you have at least two options:
1) turn x into a function and use the method I had posted
2) use "match" to get the index if the maximal value which in your case would be the searched for x value, too.
See attached worksheet for details.
Edited: haven't realized that Stuart already had posted.
I second his remark about not giving up on the function approach. At the end of my worksheet you find a symbolic solution using functions. If the functions get more complex and the symbolic solver is not able to find a solution you would resort to a numeric solution by using a solve block.
have just updated the file and included a solve block and the root function