I've tried both NSolve and RootFind to solve a very complex function. It seems that it always passes a variable into the as a first step.
f(x_} : = Module[{}, Print["this is x: ", x]; ComplicatedFunction[x]; Return[x]; ] RootFind[F[x], {x,0}]; This is x: x x is never a number it's always a variable. The "ComplicatedFunction" cannot handle symbolic input, but is designed for a real. NSolve does the same thing. Is there a way around?
Thanks