User Portlet User Portlet

Mario Junior Mencagli
Discussions
I want to call an own defined function through NMinimize. For the sake of simplicity, let us define the problem as follow: radpatt[x1_] := (Print[x1]; x1 ) NMinimize[{radpatt[xx], 0.1
I defined my own function which solves a transcendental equation by using a findroot, and it works. But, when I call my own defined function with NMinimize, it gives me an error. I do not understand where it comes from. Attached please find my code....